We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a308e1 commit 9328d2cCopy full SHA for 9328d2c
lib/bald/__init__.py
@@ -259,11 +259,11 @@ def __getitem__(self, item):
259
# print('trying: {}'.format(item))
260
261
headers = {'Accept': 'application/rdf+xml'}
262
- self.cache[item] = requests.get(item, headers=headers, timeout=17)
+ self.cache[item] = requests.get(item, headers=headers, timeout=11)
263
except Exception:
264
# print('retrying: {}'.format(item))
265
headers = {'Accept': 'text/html'}
266
267
268
# print('in {} seconds'.format(time.time() - then))
269
return self.cache[item]
0 commit comments