diff --git a/worker.py b/worker.py index 15a4ed8..5c9d384 100755 --- a/worker.py +++ b/worker.py @@ -155,8 +155,7 @@ class Monitor(threading.Thread): time.sleep(5) -#with daemon.DaemonContext(files_preserve=[handler.stream]): -if True: +with daemon.DaemonContext(files_preserve=[handler.stream]): workers = [] for deployment in DEPLOYMENTS: LOG.info("Starting deployment: %s", deployment)