set daemon to False

This commit is contained in:
yannpom
2016-12-05 12:21:41 +01:00
committed by GitHub
parent ab87b9be38
commit 3b8199cb8f
+1
View File
@@ -147,6 +147,7 @@ class Sentinel(object):
p = Process(target=target, args=args)
p.daemon = True
if target == worker:
p.daemon = False
p.timer = args[2]
self.pool.append(p)
p.start()