summaryrefslogtreecommitdiff
path: root/util/message.h
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-12-10 13:05:34 +0100
committerAntonin Kral <a.kral@bobek.cz>2010-12-10 13:05:34 +0100
commited4a804c027562e1bf6a0f45dae7326198c29f8e (patch)
tree9d04736132d5421497a80619e30d4c2e03e76728 /util/message.h
parente598e7ada36302f35a0da8ae0c63c34b51b6a720 (diff)
downloadmongodb-ed4a804c027562e1bf6a0f45dae7326198c29f8e.tar.gz
Imported Upstream version 1.6.5
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);