summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-08-16 14:05:10 -0400
committerEliot Horowitz <eliot@10gen.com>2011-08-16 14:05:10 -0400
commitb9619c4bde7460b6c3a3be9927854925bda60521 (patch)
treeef08adab3ae01867b5c0f3a328829caa9c96467e
parentd6d4ee256edd8989a74fd6716841780696154da5 (diff)
downloadmongo-b9619c4bde7460b6c3a3be9927854925bda60521.tar.gz
more lenient when slow
-rw-r--r--s/strategy_shard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/strategy_shard.cpp b/s/strategy_shard.cpp
index 26ea79a068f..337fa58a541 100644
--- a/s/strategy_shard.cpp
+++ b/s/strategy_shard.cpp
@@ -151,7 +151,7 @@ namespace mongo {
// Many operations benefit from having the shard key early in the object
o = manager->getShardKey().moveToFront(o);
- const int maxTries = 10;
+ const int maxTries = 30;
bool gotThrough = false;
for ( int i=0; i<maxTries; i++ ) {