Fix OAuth cleanup worker unconditionally starting
authorrinpatch <rinpatch@sdf.org>
Thu, 15 Aug 2019 17:36:20 +0000 (20:36 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 15 Aug 2019 17:36:20 +0000 (20:36 +0300)
!1576 removed enabled/disabled check from the worker, in favor of just
not starting it in application.ex if disabled. However a line
unconditionally starting the worker was removed

lib/pleroma/application.ex

index aa673188f779482fbdfa7891722594037e3816e1..25e56b9e2b2820c1d60254e4dac10e16f520faa4 100644 (file)
@@ -41,7 +41,6 @@ defmodule Pleroma.Application do
         hackney_pool_children() ++
         [
           Pleroma.Web.Federator.RetryQueue,
-          Pleroma.Web.OAuth.Token.CleanWorker,
           Pleroma.Stats,
           %{
             id: :web_push_init,