From 927f61e124285ef5753c551e37f3ec41164f694f Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Tue, 14 May 2024 20:53:01 -0500 Subject: [PATCH] update loading app --- run.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/run.py b/run.py index d120d1c..b738029 100755 --- a/run.py +++ b/run.py @@ -955,21 +955,9 @@ def setup_client(pool): if config["core"]["server"] == "Hyper-V": run_cmd("Start-VM -Name Jukebox*") # any and all VMs starting with "Jukebox" - # Wait for VM to start and be reachable over the network - serverproc = Process(target=start_client_socket) - serverproc.start() - - pool.apply_async(check_server_online, (config["core"]["serverip"],config["core"]["clientip"]), callback=vm_start_callback) - - #wait_for(vm_ready, "VM Startup") - - #global vm_ready - if vm_ready is False: - fprint("waiting for " + "VM Startup" + " to complete...") - while vm_ready is False: - sleep(0.1) + sleep(20) p.terminate() - firefox.get("http://" + config["core"]["serverip"] + ":8000") + firefox.get('http://192.168.1.25:3000') return True