You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix:
This fix add option to start and stop a wheel timer.
To handle the case, to not to run the wheel timer unnecessarily
when there is no element in it, a new api wheel_stop() is added.
Also whenever a new element is added to wheel timer's slot, that
wheel timer is tried to be started again, if not running already.
During testing, certain behavior found, if a wheel timer is fired/an
event is scheduled in the middle of configuration, it brings some
random pattern/delay that sometimes delays
"Verifying BGP Convergence on router r1" for ~3 sec. So a new argument
added to in wheel_init, to pass wait time before the wheel timer
is started. For fast wheel timer, it works fine 10 ms. Just to note,
this is just one time/start time delay, after that wheel schedules events,
according existing logic as usual. If passed wait time is 0, then it will
schedule/start the wheel timer according to existing logic
Signed-off-by: Soumya Roy <[email protected]>
0 commit comments