diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-08-16 14:05:10 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-08-16 14:05:10 -0400 |
commit | b9619c4bde7460b6c3a3be9927854925bda60521 (patch) | |
tree | ef08adab3ae01867b5c0f3a328829caa9c96467e /s | |
parent | d6d4ee256edd8989a74fd6716841780696154da5 (diff) | |
download | mongo-b9619c4bde7460b6c3a3be9927854925bda60521.tar.gz |
more lenient when slow
Diffstat (limited to 's')
-rw-r--r-- | s/strategy_shard.cpp | 2 |
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++ ) { |