diff options
-rw-r--r-- | jstests/noPassthrough/initial_sync_cloner_dups.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/noPassthrough/initial_sync_cloner_dups.js b/jstests/noPassthrough/initial_sync_cloner_dups.js index f7d4c43c9c9..f6a4a487cbc 100644 --- a/jstests/noPassthrough/initial_sync_cloner_dups.js +++ b/jstests/noPassthrough/initial_sync_cloner_dups.js @@ -61,6 +61,9 @@ var insertAndRemove = function(host) { //print(id); coll.remove({_id: id}); coll.insert({_id: id}); + + // Try to throttle this thread to prevent overloading slow machines. + sleep(1); } jsTestLog("finished bg writes on " + host); |