Wait before threads start

This commit is contained in:
Théophile Bastian 2019-08-29 13:46:07 +02:00
parent 5343142f01
commit 1e9d8d1f44
1 changed files with 2 additions and 0 deletions

View File

@ -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():