From 865df3d37344e63e505951dfc6561bfd41ff0c58 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 1 Mar 2024 19:20:45 +0100 Subject: net.server_epoll: Log creation of signalfd handles at noise level To aid in tracking down signalfd-related problems --- net/server_epoll.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3