From 1f38fb202b9f8696cf28d39e674242e036c0b75c Mon Sep 17 00:00:00 2001 From: Spencer Jackson Date: Thu, 14 Dec 2017 14:32:18 -0500 Subject: Revert "SERVER-31684 Fix unexpected "operation exceeded time limit" errors" This reverts commit b79e5f04ffc79b5892f89c22b9e5f26a297b1185. --- src/mongo/db/operation_context.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mongo/db/operation_context.h') diff --git a/src/mongo/db/operation_context.h b/src/mongo/db/operation_context.h index 915b8060981..4d5f05ceb85 100644 --- a/src/mongo/db/operation_context.h +++ b/src/mongo/db/operation_context.h @@ -410,14 +410,6 @@ public: return _deadline; } - /** - * 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. -- cgit v1.2.1