view backend.py @ 146:0b284cb64bb3

Default to synchronous wiki updates. Use config-file interpolation to refer to the site root.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 11 Dec 2013 17:51:04 -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()