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

--- Comment #34 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 202487
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202487&action=edit
Bug 42835: [DO NOT PUSH]: demo script for items index caching fix

Standalone script demonstrating the caching fix in the previous commit.
Wraps the real ES client to count calls, then calls
_get_available_biblionumbers() and _get_item_facets() twice each against
a live KTD Elasticsearch instance - first call should hit ES, second
should be near-instant from cache.

Run: perl demo_cache_fix.pl

This commit is for local testing only and must not be pushed upstream.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to