summaryrefslogtreecommitdiff
path: root/util/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/message.h')
-rw-r--r--util/message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/message.h b/util/message.h
index 203ad83..9651141 100644
--- a/util/message.h
+++ b/util/message.h
@@ -98,7 +98,7 @@ namespace mongo {
// in some cases the timeout will actually be 2x this value - eg we do a partial send,
// then the timeout fires, then we try to send again, then the timeout fires again with
// no data sent, then we detect that the other side is down
- MessagingPort(int timeout = 0, int logLevel = 0 );
+ MessagingPort(double timeout = 0, int logLevel = 0 );
virtual ~MessagingPort();
@@ -133,7 +133,7 @@ namespace mongo {
PiggyBackData * piggyBackData;
public:
SockAddr farEnd;
- int _timeout;
+ double _timeout;
int _logLevel; // passed to log() when logging errors
static void closeAllSockets(unsigned tagMask = 0xffffffff);