and i yoink (#275)
[akkoma] / lib / pleroma / workers / purge_expired_filter.ex
index dd6a22a689340f21b10cf809e5990d481ca36050..593380d13e405c4efc546fc071dd1b1469c7281f 100644 (file)
@@ -26,7 +26,7 @@ defmodule Pleroma.Workers.PurgeExpiredFilter do
 
   @impl Oban.Worker
   def timeout(_job) do
-    Pleroma.Config.get([:workers, :timeout, :filter_expiration]) || :timer.minutes(1)
+    Pleroma.Config.get([:workers, :timeout, :filter_expiration], :timer.minutes(1))
   end
 
   @impl true