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
1 changed files with 0 additions and 1 deletions

View File

@ -41,7 +41,6 @@ def start(_type, _args) do
hackney_pool_children() ++
[
Pleroma.Web.Federator.RetryQueue,
Pleroma.Web.OAuth.Token.CleanWorker,
Pleroma.Stats,
%{
id: :web_push_init,