[Zope-dev] z3c.saconfig engine creation configuration

Malthe Borch mborch at gmail.com
Wed Jun 24 09:42:32 EDT 2009


On MySQL, it's necessary to supply to ``pool_recycle`` parameter on 
engine creation, else the connection dies after some timeout and the 
pool is unable to hand out a session.

The result of this is that the first request fails whenever the 
connection has been dropped.

Attached is a patch that allows supplying these pool-related 
configuration options directly in the ZCML directive (db:engine).

\malthe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
Url: http://mail.zope.org/pipermail/zope-dev/attachments/20090624/07a7f42a/attachment-0001.pl 


More information about the Zope-Dev mailing list