From aeecb6515f04aa3ba64a8a51dd4cd3d9e474ce2e Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Tue, 28 Dec 2021 11:58:30 -0800 Subject: [PATCH 1/2] bump version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 190ac54..60da37c 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ ''' setup.py - setuptools installation configuration for warcprox -Copyright (C) 2013-2020 Internet Archive +Copyright (C) 2013-2021 Internet Archive This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -43,7 +43,7 @@ except: setuptools.setup( name='warcprox', - version='2.4.27', + version='2.4.28', description='WARC writing MITM HTTP/S proxy', url='https://github.com/internetarchive/warcprox', author='Noah Levitt', From 05daafa19eeb454691cfda25a61149ce22fb584e Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Thu, 3 Mar 2022 18:46:20 -0800 Subject: [PATCH 2/2] increase MIN_BATCH_SEC, MAX_BATCH_SEC --- warcprox/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/warcprox/__init__.py b/warcprox/__init__.py index 9fe3a74..88357b8 100644 --- a/warcprox/__init__.py +++ b/warcprox/__init__.py @@ -175,8 +175,8 @@ class BaseStandardPostfetchProcessor(BasePostfetchProcessor): class BaseBatchPostfetchProcessor(BasePostfetchProcessor): MAX_BATCH_SIZE = 500 - MAX_BATCH_SEC = 30 - MIN_BATCH_SEC = 10 + MAX_BATCH_SEC = 60 + MIN_BATCH_SEC = 30 def _get_process_put(self): batch = []