Skip to content

Commit

Permalink
increase websockify timeout (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Jun 26, 2024
1 parent 6c34e9f commit 0a0d151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ood_core/batch_connect/templates/vnc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def after_script
if ! ps $ws_pid > /dev/null; then
echo "[websockify]: failed to launch!" >&2
return 1
elif [ $counter -ge 5 ]; then
# timeout after ~5 seconds
elif [ $counter -ge 10 ]; then
# timeout after ~10 seconds
echo "[websockify]: timed-out :(!" >&2
return 1
else
Expand Down

0 comments on commit 0a0d151

Please sign in to comment.