net.server: Restore epoll signalfd handling

Reverts 4a9a69659727
This commit is contained in:
Kim Alvefur 2024-03-02 13:40:37 +01:00
parent 3036a689fa
commit 1d5021a663

View file

@ -87,11 +87,6 @@ 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