Skip to content

Commit

Permalink
SERVER-8707 Sleep 10 seconds before entering ReplicaSetMonitorWatcher…
Browse files Browse the repository at this point in the history
…'s loop

This restores the startup timing that was changed by commit
e3b8349, while preserving the
smaller time window within the loop between checking for
termination and calling ReplicaSetMonitor::checkAll().
  • Loading branch information
Tad Marshall committed Aug 4, 2013
1 parent 0ab1165 commit f141a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mongo/client/dbclient_rs.cpp
Expand Up @@ -82,6 +82,7 @@ namespace mongo {
protected:
void run() {
log() << "starting" << endl;
sleepsecs( 10 );
while ( !inShutdown() && !StaticObserver::_destroyingStatics ) {
try {
ReplicaSetMonitor::checkAll();
Expand Down

0 comments on commit f141a86

Please sign in to comment.