-
Dan Gebhardt authored
Adjustment done with a state machine, described below. Time timeout on 'fping' is proportional to the desired testing rate while in this "outage mode". - Bugfixes for running in an E-lab exp state transitions CurrentState Input NextState ---------------------------------------------- normal gotErr&PrevSucc highFreq else normal highFreq <60sec&ERR highFreq >60sec&ERR medFreq SUCCESS outageEnd medFreq <10min&ERR medFreq >10min&ERR lowFreq SUCCESS outageEnd lowFreq ERR lowFreq SUCCESS outageEnd outageEnd <120sec&SUCCESS outageEnd >120sec&SUCCESS normal ERR highFreq
1b6b1337