summaryrefslogtreecommitdiff
path: root/grid
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2007-12-01 22:49:55 -0500
committerDwight <dmerriman@gmail.com>2007-12-01 22:49:55 -0500
commitbcfc3b7b2253a8f881a8d43cebac4eacef2da0c0 (patch)
treed4863b79e39d26d23bd48e6d33242aaf36f8d62b /grid
parentbed046ec8fb6c1624b3e83f8cd0e0fb0bf069850 (diff)
downloadmongo-bcfc3b7b2253a8f881a8d43cebac4eacef2da0c0.tar.gz
logging
Diffstat (limited to 'grid')
-rw-r--r--grid/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/grid/protocol.h b/grid/protocol.h
index f1eef7f4740..ab957c700d0 100644
--- a/grid/protocol.h
+++ b/grid/protocol.h
@@ -184,6 +184,7 @@ public:
void delaySentMsg() {
if( delay != 0.0 ) {
delay = delay * 0.5;
+ if( delay<0.5 ) delay = 0;
cout << ".DELAY DECREASED TO " << delay << endl;
}
}