Hi,
I find that the documentation is insufficient in describing how to handle DB connections when using the gem as a Rails worker. This example of having a hook close existing connection and create a new one for every worker does not seems efficient. Is there a recommended way to simply use the connection from the pool and return it cleanly?
Thanks!
Hi,
I find that the documentation is insufficient in describing how to handle DB connections when using the gem as a Rails worker. This example of having a hook close existing connection and create a new one for every worker does not seems efficient. Is there a recommended way to simply use the connection from the pool and return it cleanly?
Thanks!