
mborch at gmail
Jun 24, 2009, 6:42 AM
Views: 475
Permalink
|
|
z3c.saconfig engine creation configuration
|
|
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
|