diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2013-12-30 15:42:52 -0500 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-01-02 11:16:30 -0500 |
commit | 6de0da15e46398dfc1b1747ec2c27c61c2e8bca9 (patch) | |
tree | 6110e19287f9cf79eda0d060f8224a90f0aa04eb /src/mongo/db/clientcursor.h | |
parent | b844faf0a0793153979273e8e9a46e22777e7ff0 (diff) | |
download | mongo-6de0da15e46398dfc1b1747ec2c27c61c2e8bca9.tar.gz |
SERVER-12200 reset cursor timeout on getMore()
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 9eb6d07e86c..3e5f23ad434 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -165,6 +165,7 @@ namespace mongo { * note called outside of locks (other than ccmutex) so care must be exercised */ bool shouldTimeout( unsigned millis ); + void setIdleTime( unsigned millis ); unsigned idleTime() const { return _idleAgeMillis; } uint64_t getLeftoverMaxTimeMicros() const { return _leftoverMaxTimeMicros; } |