[Koha-bugs] [Bug 32996] New: Speedup GetRecords response

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 17 15:57:07 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32996

            Bug ID: 32996
           Summary: Speedup GetRecords response
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: didier.gautheron at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 25650

Since #25650 GetRecords send location and itype descriptions.

For records with a lot of items (hundreds for serial) it slows down a lot the
reply.

- Use caching get_description_by_koha_field rather than find_by_koha_field.
- For the same notice it's very likely all itype are the same so use a trivial
memoization.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25650
[Bug 25650] Add location and itype descriptions in ILS-DI GetRecords
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list