Em 09-01-2013 14:19, Jeremy Evans escreveu:
On Wednesday, January 9, 2013 6:56:06 AM UTC-8, Rodrigo Rosenfeld
Rosas wrote:
Yes, I understand, but maybe the performance hit would be smaller
than the other simple alternative (limiting concurrent requests to
available db connections through Database.synchronize Rack
middleware).
But I guess there isn't any after_checkout hook, right?
There isn't, but that's basically what the connection_validator
extension does. So take a look at that plugin's implementation if you
want to figure out how to run code on each checkout.
Great! Thanks, Jeremy!
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" 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/sequel-talk?hl=en.