Fix OAuth cleanup worker unconditionally starting

!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
This commit is contained in:
rinpatch 2019-08-15 20:36:20 +03:00
parent 1c8f58a30e
commit fba3c16d20

View 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,