Fix: Should not break from ipresolver thread

This commit is contained in:
Kenny Lee Sin Cheong 2018-09-07 09:55:09 -04:00
parent bff91c0fb9
commit 7563d97be4

View file

@ -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)