summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-06-23 08:23:18 +0000
committerArne Juul <arnej@verizonmedia.com>2020-06-23 08:23:18 +0000
commitf90e5e288a0b33ba7f2333ae814b5e291e750acb (patch)
tree0f390aa30be319f74a167f14bb87d45abecd824d
parentf323d7eadd378266f2523cf0771aa00abbcd8b0a (diff)
on config change, just restart once
-rw-r--r--configd/src/apps/sentinel/service.cpp1
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();