From 7563d97be456c8921fdcc6a52605d4344431b208 Mon Sep 17 00:00:00 2001 From: Kenny Lee Sin Cheong Date: Fri, 7 Sep 2018 09:55:09 -0400 Subject: [PATCH] Fix: Should not break from ipresolver thread --- util/ipresolver/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ipresolver/__init__.py b/util/ipresolver/__init__.py index 97cb3acec..ce71f8ac3 100644 --- a/util/ipresolver/__init__.py +++ b/util/ipresolver/__init__.py @@ -210,7 +210,7 @@ class _UpdateIPRange(Thread): except: logger.exception('Failed trying to update aws ip range') time.sleep(_FAILED_UPDATE_RETRY_SECS) - break + continue sync_token = aws_ip_range_json['syncToken'] all_amazon, regions = IPResolver._parse_amazon_ranges(aws_ip_range_json)