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
1 changed files with 1 additions and 0 deletions

View File

@ -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