Skip to content

Commit

Permalink
Increase mongo timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudet authored Jul 1, 2024
1 parent 0bc8333 commit 471cf57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/genenotebook/launch_gnb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ while ! grep -q "Listening on" ./mongod.log; do

tries=$((tries + 1))

if [ "$tries" -ge 30 ]; then
if [ "$tries" -ge 50 ]; then
echo "Failed to launch MongoDB:" 1>&2;
cat ./mongod.log 1>&2;
exit 1;
fi

sleep 3
sleep 5
done;

TMP_STORAGE=$(pwd)/tmp_storage
Expand Down

0 comments on commit 471cf57

Please sign in to comment.