From 41b378941207a2a703394788c38b56b9fec5038a Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Mon, 3 Jul 2017 09:01:21 -0700 Subject: [PATCH] update to warcio>=1.3.4 http adapter: use same defaults for live and remote --- pywb/warcserver/http.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pywb/warcserver/http.py b/pywb/warcserver/http.py index 8181f41b..5a1b19f8 100644 --- a/pywb/warcserver/http.py +++ b/pywb/warcserver/http.py @@ -2,6 +2,6 @@ from requests.adapters import HTTPAdapter class DefaultAdapters(object): live_adapter = HTTPAdapter(max_retries=3) - remote_adapter = HTTPAdapter(pool_connections=8, pool_maxsize=8, pool_block=True) + remote_adapter = HTTPAdapter(max_retries=3) diff --git a/requirements.txt b/requirements.txt index bf94b46a..db2e6230 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ six -warcio==1.3.3 +warcio>=1.3.4 chardet requests redis