Skip to content

Commit

Permalink
sleep for 1 sec before starting again
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgasser committed Oct 10, 2013
1 parent a6fc857 commit e0e67fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/hooks/post-restore-code
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ echo "replace sphinx config file ..."
cp $BASEDIR/index/sphinx.conf /etc/sphinxsearch

echo "starting sphinx service ..."
sleep 1
sudo -u sphinxsearch /etc/init.d/sphinxsearch start
END=$(date +%s)
DIFF=$(( $END - $START ))
Expand Down

2 comments on commit e0e67fc

@gjn
Copy link
Contributor

@gjn gjn commented on e0e67fc Oct 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with the workaround.

Longterm, we need to find a more robust solution.

@loicgasser
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.