[Koha-bugs] [Bug 14375] DBIx::Connector should be stored in C4::Context instead of dbh
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 10 15:09:04 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14375
--- Comment #1 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 40063
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40063&action=edit
Bug 14375 - DBIx::Connector should be stored in C4::Context instead of dbh
DBIx::Connector doc about $conn->dbh() indicates he will manage database
handler cache and reconnection :
http://search.cpan.org/perldoc?DBIx%3A%3AConnector#dbh
So C4::Context should not store dbh object but DBIx::Connector object and get
handler from it.
We experimented issues with SIP server, since its database connections will run
all day long.
Looks like DBIx::Connector manages very well the reconnection.
Test plan :
- Check database connection does not fail for pages
- Check database connection does not fail for SIP Server
- One may check its ok with Plack
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list