diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-06-23 08:23:18 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-06-23 08:23:18 +0000 |
commit | f90e5e288a0b33ba7f2333ae814b5e291e750acb (patch) | |
tree | 0f390aa30be319f74a167f14bb87d45abecd824d | |
parent | f323d7eadd378266f2523cf0771aa00abbcd8b0a (diff) |
on config change, just restart once
-rw-r--r-- | configd/src/apps/sentinel/service.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/service.cpp b/configd/src/apps/sentinel/service.cpp index 9f4196a2457..a502ce50f71 100644 --- a/configd/src/apps/sentinel/service.cpp +++ b/configd/src/apps/sentinel/service.cpp @@ -73,7 +73,6 @@ Service::reconfigure(const SentinelConfig::Service& config) _config = new SentinelConfig::Service(config); if ((_state == READY) || (_state == FINISHED) || (_state == RESTARTING)) { - resetRestartPenalty(); if (_isAutomatic) { LOG(debug, "%s: Restarting due to new config", name().c_str()); start(); |