summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/lock_stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/lock_stats.js')
-rw-r--r--jstests/noPassthrough/lock_stats.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/noPassthrough/lock_stats.js b/jstests/noPassthrough/lock_stats.js
index 078a22ead2d..73a3027b33f 100644
--- a/jstests/noPassthrough/lock_stats.js
+++ b/jstests/noPassthrough/lock_stats.js
@@ -36,14 +36,10 @@
// The server was just started, so initial stats may be missing.
if (!startStats.acquireWaitCount || !startStats.acquireWaitCount.W) {
- startStats.acquireWaitCount = {
- W: 0
- };
+ startStats.acquireWaitCount = {W: 0};
}
if (!startStats.timeAcquiringMicros || !startStats.timeAcquiringMicros.W) {
- startStats.timeAcquiringMicros = {
- W: 0
- };
+ startStats.timeAcquiringMicros = {W: 0};
}
var acquireWaitCount = endStats.acquireWaitCount.W - startStats.acquireWaitCount.W;