mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge pull request #173 from internetarchive/increase_batch_sec
tune MIN_BATCH_SEC, MAX_BATCH_SEC for fewer dedup errors
This commit is contained in:
commit
d253ea85c3
@ -175,8 +175,10 @@ 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
|
||||
# these updated batch seconds values have resulted in fewer reported dedup
|
||||
# errors and otherwise have worked well in qa
|
||||
|
||||
def _get_process_put(self):
|
||||
batch = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user