Skip to content

Commit

Permalink
drop timeout for tile download, addresses M4rtinK#201
Browse files Browse the repository at this point in the history
  • Loading branch information
rinigus committed May 4, 2017
1 parent b1df3ef commit 17e88c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_mapTiles/mod_mapTiles.py
Expand Up @@ -277,7 +277,7 @@ def _getConnPool(self, layerId, baseUrl):
#headers = { 'User-Agent' : "Mozilla/5.0 (compatible; MSIE 5.5; Linux)" }
userAgent = self.modrana.configs.user_agent
headers = {'User-Agent': userAgent}
newPool = urllib3.connection_from_url(url=baseUrl, headers=headers, maxsize=10, timeout=10, block=False)
newPool = urllib3.connection_from_url(url=baseUrl, headers=headers, maxsize=10, timeout=None, block=False)
self.connPools[layerId] = newPool
return newPool

Expand Down

0 comments on commit 17e88c6

Please sign in to comment.