Skip to content

Commit b3a0df7

Browse files
committed
timeout to 11
1 parent 06ef959 commit b3a0df7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bald/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ def __getitem__(self, item):
258258
# print('trying: {}'.format(item))
259259

260260
headers = {'Accept': 'application/rdf+xml'}
261-
self.cache[item] = requests.get(item, headers=headers, timeout=7)
261+
self.cache[item] = requests.get(item, headers=headers, timeout=11)
262262
except Exception:
263263
# print('retrying: {}'.format(item))
264264
headers = {'Accept': 'text/html'}
265-
self.cache[item] = requests.get(item, headers=headers, timeout=7)
265+
self.cache[item] = requests.get(item, headers=headers, timeout=11)
266266

267267
# print('in {} seconds'.format(time.time() - then))
268268
return self.cache[item]

0 commit comments

Comments
 (0)