Mercurial > wikked
view backend.py @ 141:957b269c6dfc
Don't run processes if we're using the command server.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 10 Dec 2013 13:47:37 -0800 |
parents | 87606db8c641 |
children | a4a64d6b66cb |
line wrap: on
line source
import logging from celery import Celery logging.basicConfig(level=logging.DEBUG) app = Celery( 'wikked', broker='amqp://', backend='amqp://', include=['wikked.tasks']) if __name__ == '__main__': app.start()