Add REDIS_HOST and REDIS_PORT to celery configuration documentation
This commit is contained in:
parent
531e5c0d00
commit
9f66c18e71
|
@ -390,6 +390,9 @@ Here are the Celery configuration variables that should be set::
|
||||||
CELERY_IMPORTS = ('lemur.common.celery')
|
CELERY_IMPORTS = ('lemur.common.celery')
|
||||||
CELERY_TIMEZONE = 'UTC'
|
CELERY_TIMEZONE = 'UTC'
|
||||||
|
|
||||||
|
REDIS_HOST="your_redis_url"
|
||||||
|
REDIS_PORT="6379"
|
||||||
|
|
||||||
Do not forget to import crontab module in your configuration file::
|
Do not forget to import crontab module in your configuration file::
|
||||||
|
|
||||||
from celery.task.schedules import crontab
|
from celery.task.schedules import crontab
|
||||||
|
|
Loading…
Reference in New Issue