in reply to Re^4: Issue with dbi connect_cached method
in thread Issue with dbi connect_cached method
The point of the ->connect_cached method is to keep a global cache of the connection.
In an ideal world, ->connect_cached is a drop-in replacement for ->connect, but reusing an old connection.
The downside of using ->connect is that maybe you are a bit slower because you rebuild the network connection. But that is better than having a long timeout, in your case.
|
|---|