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)