summaryrefslogtreecommitdiff
path: root/s/balance.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-19 10:57:04 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-19 10:57:04 -0400
commit1d7c6c8b3ad427fe55d5063da5a52a3ad1d55684 (patch)
tree949f8fbb5eb8ad2a8022bca58e68c167689a0f7f /s/balance.cpp
parent1d76780d8a0a6e3e87ba8a4e7e60a41c074ec648 (diff)
downloadmongo-1d7c6c8b3ad427fe55d5063da5a52a3ad1d55684.tar.gz
sleep on balancer error
Diffstat (limited to 's/balance.cpp')
-rw-r--r--s/balance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/s/balance.cpp b/s/balance.cpp
index 037b2e65b3b..dae92dfd15d 100644
--- a/s/balance.cpp
+++ b/s/balance.cpp
@@ -297,6 +297,7 @@ namespace mongo {
// Just to match the opening statement if in log level 1
log(1) << "*** End of balancing round" << endl;
+ sleepsecs( 30 ); // sleep a fair amount b/c of error
continue;
}
}