Skip to content

Commit

Permalink
Merge pull request #96 from mboudet/master
Browse files Browse the repository at this point in the history
Increase mongo timeout for GNB
  • Loading branch information
abretaud authored Jul 1, 2024
2 parents 0bc8333 + 471cf57 commit 6b276b8
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 6b276b8

Please sign in to comment.