From ed0188ce815b61bac484d406371e68e4b2e52843 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 1 Mar 2024 19:22:49 +0100 Subject: net.server: Disable epoll signalfd handling by default until problems resolved --- net/server.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net/server.lua b/net/server.lua index 942aceb2..45601998 100644 --- a/net/server.lua +++ b/net/server.lua @@ -87,6 +87,11 @@ else end end +if server_type == "epoll" and os.getenv "PROSODY_EPOLL_SIGNALS" ~= "1" then + -- Until we can track down why this only works for me + server.hook_signal = nil; +end + -- If server.hook_signal exists, replace signal.signal() local has_signal, signal = pcall(require, "prosody.util.signal"); if has_signal then -- cgit v1.2.3