Commit 746b92a7 by Guba Sándor

testing celery

parent c5140e1a
from vmcelery import celery
@celery.task
def add(x, y):
return x+y
@celery.task
def mul(x, y):
retrun x*y
from celery import Celery
celery = Celery('tasks', backend='amqp', broker='amqp://cloud:test@10.9.1.31/vmdriver')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment