mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-06-27 16:10:05 +08:00
Update celeryconfig.py
This commit is contained in:
@@ -6,6 +6,6 @@ CELERY_RESULT_DBURI = os.environ.get('OPENSHIFT_MONGODB_DB_URL')
|
||||
|
||||
celery_imports = os.environ.get('OPENSHIFT_CELERY_IMPORTS')
|
||||
|
||||
CELERY_IMPORTS = celery_import.split(',') if celery_imports else ('celerytks',)
|
||||
CELERY_IMPORTS = celery_imports.split(',') if celery_imports else ('celerytks',)
|
||||
|
||||
CELERYD_LOG_FILE = '{0}log/celery/worker1.log'.format(os.environ.get('OPENSHIFT_TMP_DIR'))
|
||||
|
||||
Reference in New Issue
Block a user