From 17e88c68e4a51796b8b436e9a9612e130aaddef7 Mon Sep 17 00:00:00 2001 From: Rinigus Date: Thu, 4 May 2017 12:12:03 +0300 Subject: [PATCH] drop timeout for tile download, addresses #201 --- modules/mod_mapTiles/mod_mapTiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mod_mapTiles/mod_mapTiles.py b/modules/mod_mapTiles/mod_mapTiles.py index ba084bc2..385d3c67 100644 --- a/modules/mod_mapTiles/mod_mapTiles.py +++ b/modules/mod_mapTiles/mod_mapTiles.py @@ -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