summaryrefslogtreecommitdiff
path: root/s/request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 's/request.cpp')
-rw-r--r--s/request.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/s/request.cpp b/s/request.cpp
index e09c3bc..ec245d7 100644
--- a/s/request.cpp
+++ b/s/request.cpp
@@ -123,7 +123,8 @@ namespace mongo {
log() << staleConfig.what() << " attempt: " << attempt << endl;
uassert( 10195 , "too many attempts to update config, failing" , attempt < 5 );
ShardConnection::checkMyConnectionVersions( getns() );
- sleepsecs( attempt );
+ if (!staleConfig.justConnection() )
+ sleepsecs( attempt );
reset( ! staleConfig.justConnection() );
_d.markReset();
process( attempt + 1 );