diff --git a/hyakvnc/__main__.py b/hyakvnc/__main__.py index beacbe8..3c6b6e4 100644 --- a/hyakvnc/__main__.py +++ b/hyakvnc/__main__.py @@ -171,6 +171,8 @@ def create_node_signal_handler(signal_number, frame): logger.info("Waiting for Apptainer instance to start running") if wait_for_file(str(instance_file), timeout=app_config.sbatch_post_timeout): + time.sleep(2) + logger.info("Apptainre instance started running. Waiting for VNC session to start") def get_session(): try: