From 22d6499c3a94157bcb5cc1cc57e40369216c77c7 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Tue, 24 Oct 2023 12:38:29 -0500
Subject: [PATCH] Increase timeout to 600 second before terminating

---
 template/after.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template/after.sh b/template/after.sh
index 1d43fce..45e3272 100755
--- a/template/after.sh
+++ b/template/after.sh
@@ -1,7 +1,7 @@
 # Wait for the Jupyter Notebook server to start
 echo "Waiting for Jupyter Notebook server to open port ${port}..."
 echo "TIMING - Starting wait at: $(date)"
-if wait_until_port_used "${host}:${port}" 60; then
+if wait_until_port_used "${host}:${port}" 600; then
   echo "Discovered Jupyter Notebook server listening on port ${port}!"
   echo "TIMING - Wait ended at: $(date)"
 else
-- 
GitLab