Skip to content

Instantly share code, notes, and snippets.

@carimura
Last active December 12, 2015 03:48
Show Gist options
  • Save carimura/4709502 to your computer and use it in GitHub Desktop.
Save carimura/4709502 to your computer and use it in GitHub Desktop.
from celery import Celery
import iron_celery
celery = Celery('tasks',
broker='ironmq://{iron_project_id}:{iron_token}@')
@celery.task
def add(x, y):
return x + y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment