summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-29 19:05:48 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-29 19:05:48 +0200
commit64893a8b72ac982c6f8fe75f90a303e3b16de240 (patch)
tree8792d36ff01fdc3057d1f4f5f14d605efb5d8d33
parente2f8ff5759665d24321bebd729fcf1fda0f844a3 (diff)
downloadanalyzer-64893a8b72ac982c6f8fe75f90a303e3b16de240.tar.gz
analyzer-64893a8b72ac982c6f8fe75f90a303e3b16de240.zip
decrease default batch size
-rw-r--r--worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.py b/worker.py
index 009cbc1..302e5aa 100644
--- a/worker.py
+++ b/worker.py
@@ -14,7 +14,7 @@ import trueskill
RABBITMQ_URI = os.environ.get("RABBITMQ_URI") or "amqp://localhost"
DATABASE_URI = os.environ["DATABASE_URI"]
-BATCHSIZE = os.environ.get("BATCHSIZE") or 500 # matches
+BATCHSIZE = os.environ.get("BATCHSIZE") or 200 # matches
IDLE_TIMEOUT = os.environ.get("IDLE_TIMEOUT") or 1 # s
# ORM definitions