Jonathan LaCour wrote:
How should I be handling transactions through SQLObject if I am using the flup forking WSGI server for deployment and have CherryPy setup to not use threads? I have seen Ian Bicking's previous post containing his "do_in_transaction" routine, but it seems to use threading to infer things.
threadConnection is thread-aware; but if you are running single-threaded it doesn't hurt anything to use it.
OTOH, caching with multiple processes and SQLObject can get a little hairy. I can't give a quick answer about that, because I've been putting off thinking through the implications for some time :(
-- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

