summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency/admission_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/concurrency/admission_context.h')
-rw-r--r--src/mongo/util/concurrency/admission_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/concurrency/admission_context.h b/src/mongo/util/concurrency/admission_context.h
index 8e7d8963e96..e7643f47431 100644
--- a/src/mongo/util/concurrency/admission_context.h
+++ b/src/mongo/util/concurrency/admission_context.h
@@ -106,7 +106,8 @@ private:
TickSource::Tick _startProcessingTime{0};
int admissions{0};
LockMode _lockMode = LockMode::MODE_NONE;
- boost::optional<AcquisitionPriority> _priority;
+ // TODO SERVER-68933: Don't default _priority to kNormal.
+ boost::optional<AcquisitionPriority> _priority{AcquisitionPriority::kNormal};
};
} // namespace mongo