Re: [sqlalchemy] Detach a Session from threadlocal behaviour

2009-12-22 Thread Igor Katson
Michael Bayer wrote: > On Dec 22, 2009, at 3:03 PM, Igor Katson wrote: > > >> Hi, >> >> when a request comes into my webapp, pylons makes a shiny new >> threadlocal Session for this request (thread), and it's perfectly fine. >> However, after returning the result to the client, I want to be abl

Re: [sqlalchemy] Detach a Session from threadlocal behaviour

2009-12-22 Thread Michael Bayer
On Dec 22, 2009, at 3:03 PM, Igor Katson wrote: > Hi, > > when a request comes into my webapp, pylons makes a shiny new > threadlocal Session for this request (thread), and it's perfectly fine. > However, after returning the result to the client, I want to be able to > continue processing in a

[sqlalchemy] Detach a Session from threadlocal behaviour

2009-12-22 Thread Igor Katson
Hi, when a request comes into my webapp, pylons makes a shiny new threadlocal Session for this request (thread), and it's perfectly fine. However, after returning the result to the client, I want to be able to continue processing in a separate thread, but not use another session (another db con