and i yoink (#275)
[akkoma] / lib / pleroma / workers / purge_expired_token.ex
index 1773aeff98f1b810873983b3f89b6d1c9736c556..b4db84f4ebceb3b2b54a9fb68923f4911b3a7a1d 100644 (file)
@@ -21,7 +21,7 @@ defmodule Pleroma.Workers.PurgeExpiredToken do
 
   @impl Oban.Worker
   def timeout(_job) do
-    Pleroma.Config.get([:workers, :timeout, :token_expiration]) || :timer.minutes(1)
+    Pleroma.Config.get([:workers, :timeout, :token_expiration], :timer.minutes(1))
   end
 
   @impl true