]> git.koha-community.org Git - koha.git/commit
Bug 33447: Add Cache to Biblio->pickup_locations
authorNick Clemens <nick@bywatersolutions.com>
Fri, 7 Apr 2023 21:08:30 +0000 (21:08 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Tue, 9 May 2023 20:44:23 +0000 (21:44 +0100)
commit702da2e08f87cb82a0f55a96e4e86fe0ab64c867
treeaa28b9988cdb9fcaf3dc8c51e1835307ddac28cc
parent2fa604e5339e6f008b406a82c490412038ec3193
Bug 33447: Add Cache to Biblio->pickup_locations

This is going to have the most effect on records with large numbers of items
held by the same library, serial records and the like

To test:
1 - Add 500 items to a biblio by select myltiple copies on the add item page
2 - Place a hold via the API and note response time, I found ~3-5 seconds
3 - Apply patch
4 - Restart all
5 - Place hold using api again
6 - Note improved response time, less than 1/2 a second in my tests

Signed-off-by: emlam <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 55dc8573c709493f52bf7a2c87f82900fa926d1a)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
Koha/Biblio.pm