From 49f310ec0bcb1f593e36379464436e4edf486abb Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Tue, 9 Jul 2019 21:25:31 +0100 Subject: [PATCH] re-add time safety --- lib/exabgp/application/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/exabgp/application/cli.py b/lib/exabgp/application/cli.py index 9325a821a..92b674442 100644 --- a/lib/exabgp/application/cli.py +++ b/lib/exabgp/application/cli.py @@ -181,8 +181,8 @@ def main (): sys.exit(1) # we are not ack'ing the command and probably have read all there is - # if time.time() > start + 1.5: - # break + if time.time() > start + 1.5: + break # we read nothing, nothing to do if not rbuffer: