From 11425f38ea308d800b330f2f3f5c638dea0109dc Mon Sep 17 00:00:00 2001 From: Alex Martsinovich Date: Fri, 6 Dec 2024 13:56:23 -0800 Subject: [PATCH] Use exit/1 instead of Process.exit/2 on batch timeout --- lib/absinthe/middleware/batch.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/absinthe/middleware/batch.ex b/lib/absinthe/middleware/batch.ex index 4dc25ab159..fe0d116e74 100644 --- a/lib/absinthe/middleware/batch.ex +++ b/lib/absinthe/middleware/batch.ex @@ -163,7 +163,7 @@ defmodule Absinthe.Middleware.Batch do _ -> emit_timeout_event(batch_fun, timeout) - Process.exit(self(), :timeout) + exit({:timeout, timeout, batch_fun}) end end