1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-04-03 20:45:44 +02:00
pywb/pywb/warcserver/http.py
Ilya Kreymer 41b3789412 update to warcio>=1.3.4
http adapter: use same defaults for live and remote
2017-07-03 09:01:21 -07:00

8 lines
170 B
Python

from requests.adapters import HTTPAdapter
class DefaultAdapters(object):
live_adapter = HTTPAdapter(max_retries=3)
remote_adapter = HTTPAdapter(max_retries=3)