mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
net.server: Restore epoll signalfd handling
Reverts 4a9a69659727
This commit is contained in:
parent
3036a689fa
commit
1d5021a663
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue