++
This commit is contained in:
9
api/tasks.py
Normal file
9
api/tasks.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from celery import Celery
|
||||
|
||||
app = Celery(
|
||||
'prod',
|
||||
broker='redis://localhost:6379/0'
|
||||
)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.start()
|
||||
Reference in New Issue
Block a user