1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 19:14:03 +00:00

OTP releases executing commands via pleroma_ctl show the parent of the process is :erl_eval

This commit is contained in:
Mark Felder 2021-04-20 12:00:02 -05:00
parent 9f711ddcf8
commit 99fd9c5e38

View file

@ -69,6 +69,7 @@ def query_timeout do
cond do
parent |> to_string |> String.starts_with?("Elixir.Mix.Task") -> [timeout: :infinity]
parent == :erl_eval -> [timeout: :infinity]
true -> [timeout: 15_000]
end
end