On Mar 3, 2008, at 9:17 PM, Lukasz Szybalski wrote:

> What is the proper connection string for sqlalchemy to support  
> pool_recycle?
> Is there a setting in mod_Wsgi to support this?

its a create_engine option, so its a keyword argument - i.e  
create_engine(url, pool_recycle=3600).

I didnt think mod_wsgi had any kind of database integration, but your  
slice of code looked like you had a config file going on.  If the  
config system is using SA's engine_from_config() function, you'd add  
"sqlalchemy.pool_recycle" to your config file.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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