commit: 99fd9c5e38ad08973f435f1a67d6af60d004c578
parent 9f711ddcf84bdb5a5680e1b55afa83768014906d
Author: Mark Felder <feld@feld.me>
Date: Tue, 20 Apr 2021 12:00:02 -0500
OTP releases executing commands via pleroma_ctl show the parent of the process is :erl_eval
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/pleroma/utils.ex b/lib/pleroma/utils.ex
@@ -69,6 +69,7 @@ defmodule Pleroma.Utils 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