phuochungus commited on
Commit
36753c2
1 Parent(s): 810208f

move implement to other branch

Browse files
app/worker/__init_.py DELETED
File without changes
app/worker/celery.py DELETED
@@ -1,6 +0,0 @@
1
- from celery import Celery
2
-
3
- app = Celery("worker", broker="redis://localhost:6379", include=["worker.tasks"])
4
-
5
- if __name__ == "__main__":
6
- app.start()
 
 
 
 
 
 
 
app/worker/tasks.py DELETED
@@ -1,6 +0,0 @@
1
- from .celery import app
2
-
3
-
4
- @app.task
5
- def add(x, y):
6
- return x + y