run_daemon 1분 유지 수정
This commit is contained in:
+3
-1
@@ -51,10 +51,12 @@ def main():
|
|||||||
for resetPath in autoResetList:
|
for resetPath in autoResetList:
|
||||||
future = executor.submit(run, resetPath)
|
future = executor.submit(run, resetPath)
|
||||||
waiters.append(future)
|
waiters.append(future)
|
||||||
for _ in range(4):
|
for idx in range(4):
|
||||||
for webPath in servList:
|
for webPath in servList:
|
||||||
future = executor.submit(run, webPath)
|
future = executor.submit(run, webPath)
|
||||||
waiters.append(future)
|
waiters.append(future)
|
||||||
|
if idx == 3:
|
||||||
|
break
|
||||||
time.sleep(15)
|
time.sleep(15)
|
||||||
for future in waiters:
|
for future in waiters:
|
||||||
future.done()
|
future.done()
|
||||||
|
|||||||
Reference in New Issue
Block a user