Howdy folks, I'm working on some backend services using eventlet[0] and I would
like to re-use my Django models code, doing so "out of the box" is proving more
difficult than I had hoped.
In order to prevent blocking coroutines, I believe I need to find some way to
smuggle a cursor coming from the eventlet ConnectionPool[1] into django.models,
but past over-writing django.db.connect, I can't find a "clean" means of doing
so.
Any advice? (Here's hoping donovan's lurking around here :))
Cheers,
-R. Tyler Ballance
--------------------------------------
GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
Blog: http://unethicalblogger.com
[0] http://eventlet.net
[1] http://eventlet.net/doc/modules/db_pool.html
|
|
application_pgp-signature_part
< 1K
Download
|