diff options
Diffstat (limited to 'src/mongo/db/stats/snapshots.cpp')
-rw-r--r-- | src/mongo/db/stats/snapshots.cpp | 2 |
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); } } |