aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-03-01 19:20:45 +0100
committerKim Alvefur <zash@zash.se>2024-03-01 19:20:45 +0100
commit865df3d37344e63e505951dfc6561bfd41ff0c58 (patch)
treed65da37f8f6c4b999041dc5f8b566da1f74887b3 /net
parent876162b9cfe58a6e2df12006263d344d80531332 (diff)
downloadprosody-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
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua1
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