mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.server: Disable epoll signalfd handling by default until problems resolved
This commit is contained in:
parent
865df3d373
commit
ed0188ce81
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue