Skip to content

Commit

Permalink
fixes #962
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Mar 15, 2020
1 parent 6bd54b2 commit d0af7b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Version 4.3.0:
patch by: adrian62
* Fix: aggregator parsing when no space are used around ()
reported by: thomas955
* Fix: high CPU load to do sleeptime in second and not ms
reported by: Gary Buhrmaster
* Change: BGP-LS TE-RIDs are now reported as a list (as Arista reports more than one)
patch: tomjshine
* reported: the RIB code so withdraw message before any announce are sent
Expand Down
3 changes: 2 additions & 1 deletion lib/exabgp/reactor/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def run (self, validate, root):
workers = {}
peers = set()
api_fds = []
ms_sleep = int(self._sleep_time * 1000)

while True:
try:
Expand Down Expand Up @@ -333,7 +334,7 @@ def run (self, validate, root):
if self._completed(peers):
reload_completed = True

sleep = self._sleep_time
sleep = ms_sleep

# do not attempt to listen on closed sockets even if the peer is still here
for io in list(workers.keys()):
Expand Down

0 comments on commit d0af7b1

Please sign in to comment.