summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index 12c02d2c090..f56b3985261 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -320,7 +320,7 @@ void TTLMonitor::shutdown() {
void TTLMonitor::_doTTLPass() {
const ServiceContext::UniqueOperationContext opCtxPtr = cc().makeOperationContext();
OperationContext* opCtx = opCtxPtr.get();
- SetTicketAquisitionPriorityForLock priority(opCtx, AdmissionContext::Priority::kLow);
+ SetAdmissionPriorityForLock priority(opCtx, AdmissionContext::Priority::kLow);
hangTTLMonitorBetweenPasses.pauseWhileSet(opCtx);