Fix signal handlers arguments
This commit is contained in:
parent
277f16d1f1
commit
fd60cef69b
6
main.py
6
main.py
|
@ -36,15 +36,15 @@ class PodKeeper:
|
|||
self.checking = threading.Event()
|
||||
self.waiter = threading.Event()
|
||||
|
||||
def destroy(self):
|
||||
def destroy(self, signum, stackframe):
|
||||
self.stopping.set()
|
||||
self.waiter.set()
|
||||
|
||||
def reload(self):
|
||||
def reload(self, signum, stackframe):
|
||||
self.reloading.set()
|
||||
self.waiter.set()
|
||||
|
||||
def check(self):
|
||||
def check(self, signum, stackframe):
|
||||
self.checking.set()
|
||||
self.waiter.set()
|
||||
|
||||
|
|
Loading…
Reference in a new issue