add celery background tasks and redis server for celery, also modify django to use redis instead of postgres for caching for speed improvement and alleviating sql traffic
This commit is contained in:
parent
eeae7ae675
commit
f530790f6c
9 changed files with 313 additions and 32 deletions
|
|
@ -0,0 +1,5 @@
|
|||
# This will make sure the app is always imported when
|
||||
# Django starts so that shared_task will use this app.
|
||||
from .celery import app as celery_app
|
||||
|
||||
__all__ = ('celery_app',)
|
||||
Loading…
Add table
Add a link
Reference in a new issue