test
This commit is contained in:
@@ -485,6 +485,9 @@ class BridgeLinkStateWatcher:
|
|||||||
)
|
)
|
||||||
with self._lock:
|
with self._lock:
|
||||||
for ifname in ifnames:
|
for ifname in ifnames:
|
||||||
|
existing_deadline = self._config_change_deadlines.get(ifname, 0.0)
|
||||||
|
if existing_deadline > now:
|
||||||
|
continue
|
||||||
self._config_change_deadlines[ifname] = now + holdoff
|
self._config_change_deadlines[ifname] = now + holdoff
|
||||||
|
|
||||||
def _config_transition_active(self, ifnames: list[str], now: float) -> bool:
|
def _config_transition_active(self, ifnames: list[str], now: float) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user