summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2018-03-30 15:54:57 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2018-04-05 10:08:08 -0400
commit83e1a7097433b98109bbdf67f4ae3eb2421c926f (patch)
tree0019bc517295a9712549f9db7f4b1eca8b5f17c3 /src/mongo/db/operation_context.h
parent8d4c7404718bd32de68f3cce500cc160f9f7ecef (diff)
downloadmongo-83e1a7097433b98109bbdf67f4ae3eb2421c926f.tar.gz
SERVER-33942 Avoid setting deadline for maxTimeMS on tailable cursors
Diffstat (limited to 'src/mongo/db/operation_context.h')
-rw-r--r--src/mongo/db/operation_context.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/operation_context.h b/src/mongo/db/operation_context.h
index 7c7862c6629..1e53a5648e5 100644
--- a/src/mongo/db/operation_context.h
+++ b/src/mongo/db/operation_context.h
@@ -406,14 +406,6 @@ public:
}
/**
- * Reset the deadline for this operation.
- */
- void clearDeadline() {
- _deadline = Date_t::max();
- _maxTime = computeMaxTimeFromDeadline(_deadline);
- }
-
- /**
* Returns the number of milliseconds remaining for this operation's time limit or
* Milliseconds::max() if the operation has no time limit.
*/