OTP releases executing commands via pleroma_ctl show the parent of the process is :erl_eval
This commit is contained in:
parent
9f711ddcf8
commit
99fd9c5e38
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue