Set number of http connection retries to 1

Change the maximum number of retries for connection to external services to 1.
This commit is contained in:
Javier Goizueta
2016-12-13 11:32:22 +01:00
parent 79fb796180
commit 1f53af65b9
5 changed files with 5 additions and 5 deletions
@@ -15,7 +15,7 @@ class MapzenGeocoder(Traceable):
BASE_URL = 'https://search.mapzen.com/v1/search'
READ_TIMEOUT = 60
CONNECT_TIMEOUT = 10
MAX_RETRIES = 0
MAX_RETRIES = 1
def __init__(self, app_key, logger, base_url=BASE_URL):
self._app_key = app_key