OTP releases executing commands via pleroma_ctl show the parent of the process is...
authorMark Felder <feld@feld.me>
Tue, 20 Apr 2021 17:00:02 +0000 (12:00 -0500)
committerMark Felder <feld@feld.me>
Thu, 22 Apr 2021 15:15:50 +0000 (10:15 -0500)
lib/pleroma/utils.ex

index 5e2fa8bf7d27d1b88783e602e9057aba4ffeaedb..55aecc509f903fd82f0da85c45e4a1be86818f13 100644 (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