diff options
author | Tad Marshall <tad@10gen.com> | 2013-08-04 07:54:44 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2013-08-04 17:48:55 -0400 |
commit | 392b933598668768bf12b1e41ad444aa3548d970 (patch) | |
tree | 85316f7a2428a59fb6acf255a0d579d64993ff68 | |
parent | 268d3f6656021733914d5f743ab4bb6eb5db61bd (diff) | |
download | mongo-392b933598668768bf12b1e41ad444aa3548d970.tar.gz |
SERVER-8707 Sleep 10 seconds before entering ReplicaSetMonitorWatcher's loop
This restores the startup timing that was changed by commit
e3b8349ec305b00bdb7107f2d887549640a15c90, while preserving the
smaller time window within the loop between checking for
termination and calling ReplicaSetMonitor::checkAll().
-rw-r--r-- | src/mongo/client/dbclient_rs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp index 0c1c8b62122..21a5b0810f4 100644 --- a/src/mongo/client/dbclient_rs.cpp +++ b/src/mongo/client/dbclient_rs.cpp @@ -82,6 +82,7 @@ namespace mongo { protected: void run() { log() << "starting" << endl; + sleepsecs( 10 ); while ( !inShutdown() && !StaticObserver::_destroyingStatics ) { try { ReplicaSetMonitor::checkAll( true ); |