Software / code / prosody
Changeset
13451:4a9a69659727
net.server: Disable epoll signalfd handling by default until problems resolved
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 01 Mar 2024 19:22:49 +0100 |
| parents | 13450:f36e1e1b84fe |
| children | 13452:69faf3552d52 |
| files | net/server.lua |
| diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server.lua Fri Mar 01 19:20:45 2024 +0100 +++ b/net/server.lua Fri Mar 01 19:22:49 2024 +0100 @@ -87,6 +87,11 @@ 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