Skip to content

Commit

Permalink
Merge pull request #205 from reef-technologies/prefetch-multiplier
Browse files Browse the repository at this point in the history
Set CELERY_WORKER_PREFETCH_MULTIPLIER = 1
  • Loading branch information
agoncharov-reef authored Oct 29, 2024
2 parents 336adbc + 3a75c94 commit f48882c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def wrapped(*args, **kwargs):
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
CELERY_WORKER_PREFETCH_MULTIPLIER = env.int("CELERY_WORKER_PREFETCH_MULTIPLIER", default=10)
CELERY_WORKER_PREFETCH_MULTIPLIER = env.int("CELERY_WORKER_PREFETCH_MULTIPLIER", default=1)
CELERY_BROKER_POOL_LIMIT = env.int("CELERY_BROKER_POOL_LIMIT", default=50)

DJANGO_STRUCTLOG_CELERY_ENABLED = True
Expand Down

0 comments on commit f48882c

Please sign in to comment.