From 7501215211c742d236e8c6b88f177af98062a4c0 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 14 Nov 2020 23:27:52 +0100 Subject: [PATCH] Add signal debug print --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 880b522..f44f4de 100644 --- a/main.py +++ b/main.py @@ -37,14 +37,17 @@ class PodKeeper: self.waiter = threading.Event() def destroy(self, signum, stackframe): + print("Destroy signal", file=sys.stderr, flush=True) self.stopping.set() self.waiter.set() def reload(self, signum, stackframe): + print("Reload signal", file=sys.stderr, flush=True) self.reloading.set() self.waiter.set() def check(self, signum, stackframe): + print("Check signal", file=sys.stderr, flush=True) self.checking.set() self.waiter.set()