Commit 95c6edd1 by syed-awais-ali

added ttl setting

parent 7d320f7e
......@@ -65,6 +65,9 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL = 10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
......
......@@ -110,6 +110,9 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL = 10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
......
......@@ -74,6 +74,9 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL = 10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
......
......@@ -133,6 +133,9 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT = 10.0
BROKER_HEARTBEAT_CHECKRATE = 2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL = 10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment