[Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 1 01:36:38 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #135660|0 |1
is obsolete| |
--- Comment #27 from David Nind <david at davidnind.com> ---
Created attachment 142845
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142845&action=edit
Bug 29672: Increase performance of Koha::Plugins->call
Make use of Koha::Cache::Memory::Lite to avoid hitting the database and
creating plugins object for every call to Koha::Plugins->call
Test plan:
1. Make sure plugins still work by executing
`prove t/db_dependent/Koha/Plugins/Plugins.t`
2. Run the test script provided in the following patch to see how it
affects performances
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list