[Koha-bugs] [Bug 31744] Inventory tool can take a long time and never complete

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 03:19:02 CEST 2023


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

--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
In the end, the trick was to override AddOutputFilterByType just for
inventory.pl. 

So overall:
1. Don't proxy inventory.pl to Starman/Plack
2. Override AddOutputFilterByType so the DEFLATE compression output filter
isn't added
3. At the start of the inventory.pl processing output the HTTP headers and then
roughly every 5 seconds print out a NULL character to keep alive the HTTP
connection until the HTML template/CSV response is ready to be printed out.

--

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list