[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
Tue Jun 13 05:55:53 CEST 2023


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Liz Rea from comment #0)
> There seems to be a problem with scaling for the inventory tool. More and
> more often now with bigger libraries we are running into libraries putting
> too many barcodes into the tool, and timing out the tool, or not getting
> feedback on the job progress and clicking back and trying again (and again.
> And again.)

I've found a flaw in the inventory tool and fixing that should speed things up
a fair bit, but probably still not enough for bigger libraries.

--

I've also got an idea for a workaround that could get the tool to work for
larger barcode sets which should prevent timeouts from occurring... but I don't
have a plan for avoiding them not getting feedback on the job progress and
clicking back and trying again and again...

(Basically, excluding inventory.pl from Plack processing, and then sending keep
alive messages in the form of spaces or HTML comments. The reason for excluding
from Plack is that Plack::App::CGIBin buffers the complete response before
sending it back to the client (and any proxies in between).)

--

I think changing the inventory to use background processing is still a
necessary step, but the above are some changes that would get the tool working
again in a short amount of time.

-- 
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