mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Reducing celery prefetch to get more accurate queue sizes.
This commit is contained in:
parent
a1eb207d90
commit
de71c414c5
1 changed files with 2 additions and 2 deletions
|
@ -392,13 +392,13 @@ BROKER_BACKEND = "redis"
|
|||
BROKER_URL = "redis://db01:6379/0"
|
||||
CELERY_REDIS_HOST = "db01"
|
||||
|
||||
CELERYD_LOG_LEVEL = 'ERROR'
|
||||
CELERYD_PREFETCH_MULTIPLIER = 1
|
||||
CELERY_IMPORTS = ("apps.rss_feeds.tasks", )
|
||||
CELERYD_CONCURRENCY = 4
|
||||
CELERY_IGNORE_RESULT = True
|
||||
CELERY_ACKS_LATE = True # Retry if task fails
|
||||
CELERYD_MAX_TASKS_PER_CHILD = 10
|
||||
# CELERYD_TASK_TIME_LIMIT = 12 * 30
|
||||
CELERYD_TASK_TIME_LIMIT = 12 * 30
|
||||
CELERY_DISABLE_RATE_LIMITS = True
|
||||
|
||||
# ====================
|
||||
|
|
Loading…
Add table
Reference in a new issue