Delete debugging traces
This commit is contained in:
@@ -103,9 +103,6 @@ def initialize(port: int = WOKER_PORT):
|
|||||||
|
|
||||||
# when the process is killed
|
# when the process is killed
|
||||||
def signal_handler(signum, frame):
|
def signal_handler(signum, frame):
|
||||||
with open("signal_handler.txt", mode="w") as f:
|
|
||||||
|
|
||||||
pass
|
|
||||||
terminate()
|
terminate()
|
||||||
|
|
||||||
signal.signal(signal.SIGTERM, signal_handler)
|
signal.signal(signal.SIGTERM, signal_handler)
|
||||||
|
|||||||
Reference in New Issue
Block a user