Skip to content

Instantly share code, notes, and snippets.

@tonywangcn
Created March 19, 2017 06:17
Show Gist options
  • Save tonywangcn/cc21a8e7a80f94792c086ed595762581 to your computer and use it in GitHub Desktop.
Save tonywangcn/cc21a8e7a80f94792c086ed595762581 to your computer and use it in GitHub Desktop.
celeryapp.py
from __future__ import absolute_import
from celery import Celery
app = Celery('test_celery', broker='amqp://admin:[email protected]:5673', backend='rpc://', include=['test_celery.tasks'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment