Merge branch 'increase_batch_sec' into qa

This commit is contained in:
Barbara Miller 2022-03-03 18:47:04 -08:00
commit e48a8dda05
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 = []