Skip to content

Commit

Permalink
change to address #1168
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Sep 11, 2023
1 parent 6f78f59 commit 23c71f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/exabgp/reactor/delay.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def increase(self):
self._next = min(int(1 + self._next * 1.2), 60)

def backoff(self):
return self._time > time.time()
return time.time() <= self._time
1 change: 1 addition & 0 deletions src/exabgp/reactor/peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ def _main(self):
self.neighbor.rib.outgoing.replace_restart(previous, current)
self.neighbor.previous = None

self._delay.reset()
while not self._teardown:
# we are here following a configuration change
if self._neighbor:
Expand Down

0 comments on commit 23c71f6

Please sign in to comment.