batch for at least 2 seconds

This commit is contained in:
Noah Levitt 2018-01-18 11:08:10 -08:00
parent c933cb3119
commit 93e2baab8f

View File

@ -175,7 +175,7 @@ class BaseStandardPostfetchProcessor(BasePostfetchProcessor):
class BaseBatchPostfetchProcessor(BasePostfetchProcessor):
MAX_BATCH_SIZE = 500
MAX_BATCH_SEC = 10
MIN_BATCH_SEC = 0.5
MIN_BATCH_SEC = 2.0
def _get_process_put(self):
batch = []