run_daemon 1분 유지 수정

This commit is contained in:
2019-09-15 20:59:35 +09:00
parent 089803c599
commit 231c79132a
+3 -1
View File
@@ -51,10 +51,12 @@ def main():
for resetPath in autoResetList:
future = executor.submit(run, resetPath)
waiters.append(future)
for _ in range(4):
for idx in range(4):
for webPath in servList:
future = executor.submit(run, webPath)
waiters.append(future)
if idx == 3:
break
time.sleep(15)
for future in waiters:
future.done()