Files
Miroca_Server/tasks/tasks.py
Victor Alexandrovich Tsyrenschikov c9ae31bc3d Miroca_Server
2026-01-02 00:07:37 +05:00

8 lines
125 B
Python

from celery import Celery
app = Celery('tasks', broker='amqp://172.17.0.4:5672')
@app.task
def add(x, y):
return x + y