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:
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 a new issue