summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2013-12-30 15:42:52 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2014-01-02 11:16:30 -0500
commit6de0da15e46398dfc1b1747ec2c27c61c2e8bca9 (patch)
tree6110e19287f9cf79eda0d060f8224a90f0aa04eb /src/mongo/db/clientcursor.h
parentb844faf0a0793153979273e8e9a46e22777e7ff0 (diff)
downloadmongo-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.h1
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; }