diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-06-26 08:34:39 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-06-26 08:34:39 -0400 |
commit | 0d1fd31650d38a64969879bd3875e38946119297 (patch) | |
tree | 92af6184b97338479562e46c6e58203873b418fb /src/mongo/db/client.h | |
parent | 63a957eca0eae9fc3e68bf3305bea7cf65b16985 (diff) | |
download | mongo-0d1fd31650d38a64969879bd3875e38946119297.tar.gz |
remove broken implementation of killing ops if socket is gone
Diffstat (limited to 'src/mongo/db/client.h')
-rw-r--r-- | src/mongo/db/client.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/client.h b/src/mongo/db/client.h index adbbced026e..8b63ca48cf2 100644 --- a/src/mongo/db/client.h +++ b/src/mongo/db/client.h @@ -143,7 +143,6 @@ namespace mongo { BSONObj _handshake; BSONObj _remoteId; AbstractMessagingPort * const _mp; - unsigned _sometimes; bool _hasWrittenThisPass; PageFaultRetryableSection *_pageFaultRetryableSection; @@ -154,13 +153,6 @@ namespace mongo { friend class NoPageFaultsAllowed; // TEMP public: - /** the concept here is the same as MONGO_SOMETIMES. however that - macro uses a static that will be shared by all threads, and each - time incremented it might eject that line from the other cpu caches (?), - so idea is that this is better. - */ - bool sometimes(unsigned howOften) { return ++_sometimes % howOften == 0; } - /* set _god=true temporarily, safely */ class GodScope { bool _prev; |