1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

add sleep

This commit is contained in:
didier 2025-04-22 11:52:52 +02:00
parent 1f7f788381
commit 943f2b7722

View file

@ -922,6 +922,8 @@ def move_to_script_folder():
# -------------------------------------- # --------------------------------------
def wait_for_workers(): def wait_for_workers():
log(f"Starting..............", flush=True)
time.sleep(10)
pandora = pypandora.PyPandora(root_url=pandora_root_url) pandora = pypandora.PyPandora(root_url=pandora_root_url)
workers = pandora.get_enabled_workers() workers = pandora.get_enabled_workers()
while not pandora.is_up: while not pandora.is_up: