26 if (_tripTimer.elapsed() >= _resetTimeoutMsecs) {
29 qCDebug(QGCStateMachineLog) <<
stateName() <<
"circuit half-open, testing recovery";
32 qCDebug(QGCStateMachineLog) <<
stateName() <<
"circuit open, failing fast ("
33 << (_resetTimeoutMsecs - _tripTimer.elapsed()) <<
"ms until retry)";
41 qCDebug(QGCStateMachineLog) <<
stateName() <<
"executing action (state:"
52 qCDebug(QGCStateMachineLog) <<
stateName() <<
"recovery successful, resetting circuit";
62 qCDebug(QGCStateMachineLog) <<
stateName() <<
"action failed, count:"
63 << _failureCount <<
"/" << _failureThreshold;
69 qCDebug(QGCStateMachineLog) <<
stateName() <<
"half-open test failed, circuit re-opened";
70 }
else if (_failureCount >= _failureThreshold) {
74 qCDebug(QGCStateMachineLog) <<
stateName() <<
"failure threshold reached, circuit tripped";