]> git.koha-community.org Git - koha.git/commit
Bug 12005 : Creating a new zebra connection for each time we need one
authorChris Cormack <chris@bigballofwax.co.nz>
Thu, 9 Oct 2014 16:03:01 +0000 (05:03 +1300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Oct 2014 17:29:23 +0000 (14:29 -0300)
commit41168fb551ceeb905b75e496eca02bb0076242be
treeeaf4368a155a71ff0fdd8a3833570bb89d8330ae
parent8dfc399a2d42859ab510c9d86c73b6522a3c5335
Bug 12005 : Creating a new zebra connection for each time we need one

Zebra is not designed to have persistent connections, under cgi this
didn't matter the scripts would get a new connection each time, but
under plack we try to use dead connections

This patch changes it so plack works the same way that cgi did.

To test:
Apply this patch
Do some searches
Check everything still works

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Context.pm