Wait before threads start
This commit is contained in:
parent
5343142f01
commit
1e9d8d1f44
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
import threading
|
||||
import queue
|
||||
import sys
|
||||
import time
|
||||
import yaml
|
||||
import paramiko
|
||||
|
||||
|
@ -175,6 +176,7 @@ class Orchestrator:
|
|||
def start(self):
|
||||
for thread in self.threads:
|
||||
thread.start()
|
||||
time.sleep(0.1)
|
||||
|
||||
for thread in self.threads:
|
||||
while thread.is_alive():
|
||||
|
|
Loading…
Reference in a new issue