path: root/groupext.cpp
diff options
authorWilliam A. Kennington III <>2018-06-15 10:38:01 -0700
committerEmily Shaffer <>2018-09-21 21:18:06 +0000
commitbae471cb4e9faeaf183664252b51e8c39d71fc95 (patch)
tree232536e41160a071d53760936968ba2e0af8ab5f /groupext.cpp
parent1f4bc1f079243df22aa1d47e82625620ff2de634 (diff)
app/watchdog: Only log internal failures once
Logging internal failures to the phosphor-logger is a slow process that can take up to 5 seconds. If we do this for each watchdog reset for a relatively fast watchdog we will clog up the channel and fill the ESEL log with errors. We probably don't want that kind of information to build up. Instead, only report errors to the ESEL when the state of the internal watchdog transitions from HEALTHY -> UNHEALTHY. Tested: Works on zaius when booting and terminating the watchdog daemon while it is ticking. Produces the expected single error in the log and only delays the IPMI channel once. Change-Id: I8110ba66c4a85e188666a34cb6d055bdbec30622 Signed-off-by: William A. Kennington III <>
Diffstat (limited to 'groupext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud