summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc/controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ftdc/controller.cpp')
-rw-r--r--src/mongo/db/ftdc/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ftdc/controller.cpp b/src/mongo/db/ftdc/controller.cpp
index 65819c7e380..3639be9ebed 100644
--- a/src/mongo/db/ftdc/controller.cpp
+++ b/src/mongo/db/ftdc/controller.cpp
@@ -162,7 +162,7 @@ void FTDCController::doLoop() {
while (true) {
// Compute the next interval to run regardless of how we were woken up
// Skipping an interval due to a race condition with a config signal is harmless.
- auto now = getGlobalServiceContext()->getClockSource()->now();
+ auto now = getGlobalServiceContext()->getPreciseClockSource()->now();
// Get next time to run at
auto next_time = FTDCUtil::roundTime(now, _config.period);