aboutsummaryrefslogtreecommitdiffstats
path: root/configd
diff options
context:
space:
mode:
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/metrics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/metrics.cpp b/configd/src/apps/sentinel/metrics.cpp
index 078dfa275d9..42c61c06b50 100644
--- a/configd/src/apps/sentinel/metrics.cpp
+++ b/configd/src/apps/sentinel/metrics.cpp
@@ -8,7 +8,7 @@ namespace config {
namespace sentinel {
StartMetrics::StartMetrics()
- : currentlyRunningServices(0), totalRestartsCounter(0), totalRestartsLastPeriod(0),
+ : currentlyRunningServices(0), totalRestartsCounter(0), totalRestartsLastPeriod(1),
lastLoggedTime(0),
totalRestartsLastSnapshot(0),
snapshotStart(0),