net.server: Restore epoll signalfd handling
authorKim Alvefur <zash@zash.se>
Sat, 02 Mar 2024 13:40:37 +0100
changeset 13457 0b48cf880e79
parent 13456 69faf3552d52
child 13458 b0c27628f588
net.server: Restore epoll signalfd handling Reverts 4a9a69659727
net/server.lua
--- a/net/server.lua	Sat Mar 02 13:23:24 2024 +0100
+++ b/net/server.lua	Sat Mar 02 13:40:37 2024 +0100
@@ -87,11 +87,6 @@
 	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