Bug 20996: Further enhance performance
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 5 Jul 2018 13:46:16 +0000 (14:46 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 2 Nov 2018 10:33:04 +0000 (10:33 +0000)
commit3fb44a8bd63663fb7c4d93e85c30d58d9b2ce08f
tree22c7322fbb2b642417922f64f0b3da156725a690
parentf4f995a4e690b53504561294655e548a53994a81
Bug 20996: Further enhance performance

We were immediately unblessing all request objects after retrieval then,
at a later stage, re-instantiating each one so we could call methods on
that. This was a very bad idea. We now preserve the objects for as long
as we can.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/REST/V1/Illrequests.pm