annotate backend.py @ 213:841175200700

Some basic error handling and performance timing for Witch.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 17 Feb 2014 14:38:30 -0800
parents a4a64d6b66cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
164
a4a64d6b66cb Fixed various bugs:
Ludovic Chabant <ludovic@chabant.com>
parents: 140
diff changeset
1 from wikked.tasks import app
138
df04e6a875ba Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
df04e6a875ba Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 if __name__ == '__main__':
df04e6a875ba Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 app.start()
df04e6a875ba Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5