diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-01 19:20:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-01 19:20:45 +0100 |
commit | 865df3d37344e63e505951dfc6561bfd41ff0c58 (patch) | |
tree | d65da37f8f6c4b999041dc5f8b566da1f74887b3 | |
parent | 876162b9cfe58a6e2df12006263d344d80531332 (diff) | |
download | prosody-865df3d37344e63e505951dfc6561bfd41ff0c58.tar.gz prosody-865df3d37344e63e505951dfc6561bfd41ff0c58.zip |
net.server_epoll: Log creation of signalfd handles at noise level
To aid in tracking down signalfd-related problems
-rw-r--r-- | net/server_epoll.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 98a9f306..c946a751 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -1159,6 +1159,7 @@ if have_signal and signal.signalfd then local watch = watchfd(sigfd, dispatch); watch.listeners = { onsignal = cb }; watch.close = nil; -- revert to default + watch:noise("Signal handler %d ready", signum); return watch; end end |