If a process with a reference to an engine (and hence a connection
pool) forks, how can I be sure that the child process closes any
inherited descriptors before creating its own engine and connections?

If the child calls dispose() on an engine it has inherited, the engine
seems to 'dispose' of any underlying pool only to recreate it.  Is it
safe then to use the inherited engine (since it has a new pool of
connections), or should a new one be created?  If the latter, how can
I ensure that all resources associated with the inherited one are
freed?

Any guidance would be appreciated.

J


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to