-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
IdeaNew ideas to consider.New ideas to consider.bgpBorder Gateway ProtocolBorder Gateway ProtocolmgdMaghemite daemonMaghemite daemonrustPull requests that update rust codePull requests that update rust code
Description
While spending a lot of time on the FSM lately, I had some thoughts on how we store and manage FSM timers:
HoldTimer/KeepaliveTimerare specific to a connection, so they could stay in theConnectionClock.IdleHoldTimeris specific toIdle, so that could be state local toFsmState::Idle.DelayOpenTimeris specific toActive/Connectand doesn't need to persist outside that state, so it could also be local state.ConnectRetryTimerreally only starts/stops inActive/Connectso it could also be state local to that FsmState (technically it's started inIdleimmediately before moving into active/connect, but we could just start it upon entry of the next state)
Metadata
Metadata
Assignees
Labels
IdeaNew ideas to consider.New ideas to consider.bgpBorder Gateway ProtocolBorder Gateway ProtocolmgdMaghemite daemonMaghemite daemonrustPull requests that update rust codePull requests that update rust code