]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Apr 2023 12:20:52 +0000 (09:20 -0300)
commit55dc8573c709493f52bf7a2c87f82900fa926d1a
treeadda8f4aac99fb2b0f97d81e9fc611b3bf55f6a8
parenta0ec93d84f8b00e7b8b583d9fcbe7a564cba2a42
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>
Koha/Biblio.pm