summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/snapshots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/stats/snapshots.cpp')
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index 8f36cfa3cb7..c5ab5832534 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -114,7 +114,7 @@ void StatsSnapshotThread::run() {
log() << "ERROR in SnapshotThread: " << redact(e.what()) << endl;
}
- IdleThreadBlock markIdle;
+ MONGO_IDLE_THREAD_BLOCK;
sleepsecs(4);
}
}