diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-01 19:22:49 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-01 19:22:49 +0100 |
commit | ed0188ce815b61bac484d406371e68e4b2e52843 (patch) | |
tree | 1d25b6f0edd470ca67c666755447339faa4af9c1 /net | |
parent | 865df3d37344e63e505951dfc6561bfd41ff0c58 (diff) | |
download | prosody-ed0188ce815b61bac484d406371e68e4b2e52843.tar.gz prosody-ed0188ce815b61bac484d406371e68e4b2e52843.zip |
net.server: Disable epoll signalfd handling by default until problems resolved
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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 |