diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-06-24 21:21:33 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-06-24 21:21:33 +0300 |
commit | cc837f9d157f9d43a015a8908f5e2ee178442041 (patch) | |
tree | 7b7e92b11c10bc8d20a5fe7aaaf19e8a926948a5 /lib | |
parent | 71e233268a290dcfba1b1bf1fdcb2eca4840f2d7 (diff) | |
download | pleroma-cc837f9d157f9d43a015a8908f5e2ee178442041.tar.gz |
fixed config/descpiption.exs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/application.ex | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index fb2731f97..9615af122 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -80,7 +80,7 @@ defmodule Pleroma.Application do [ Pleroma.Stats, Pleroma.JobQueueMonitor, - {Oban, oban_config()} + {Oban, Config.get(Oban)} ] ++ task_children(@env) ++ streamer_child(@env) ++ @@ -138,18 +138,6 @@ defmodule Pleroma.Application do Pleroma.Web.Endpoint.Instrumenter.setup() end - defp oban_config do - config = Config.get(Oban) - - if Code.ensure_loaded?(IEx) and IEx.started?() do - config - |> Keyword.put(:crontab, false) - |> Keyword.put(:queues, false) - else - config - end - end - defp cachex_children do [ build_cachex("used_captcha", ttl_interval: seconds_valid_interval()), |