Mercurial > wikked
annotate backend.py @ 216:062d5e6ddb87
Refactoring for better SQL abstraction and performance (hopefully):
- Page instances don't keep the SQL object. This make it simpler to share those
instances between threads.
- Added a scheduler for running multiple page resolve operations. Sadly,
multi-threading doesn't seem to help here.
- Updated SQLAlchemy to 0.9.3.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 25 Feb 2014 22:08:32 -0800 |
parents | a4a64d6b66cb |
children |
rev | line source |
---|---|
164 | 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 |