https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19819 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #14 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #9)
Did you try this patch in production? I am expecting regressions on the issues with had on bug 14778 (like "server has gone away").
This was exactly what I was going to say. Database connection caching is a nice idea but not something you want to implement naively. I'd suggest not trying to re-invent the wheel on this one, and look somewhere else for database connection pooling. And actually looking at C4::Context::dbh... I see that Koha::Database->schema->storage->dbh... which does cache the $schema object in a package level variable. This bug report was opened nearly 2 years ago, so maybe it is no longer relevant. -- You are receiving this mail because: You are watching all bug changes.