Bug 26309: Make cxn_pool configurable
commit5fa47568d596443eaceb380d1694ad08cf6ce102
authorNick Clemens <nick@bywatersolutions.com>
Thu, 27 Aug 2020 15:03:17 +0000 (27 15:03 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 14 Sep 2020 21:08:24 +0000 (14 21:08 +0000)
tree79a417b6d7e40a9af57260fd60aa1a54b715dae4
parent246f3dbaa1bbdf1a145cc5e8ac0555b1b75c0015
Bug 26309: Make cxn_pool configurable

In get_elasticsearch_params we set the conf to static if undefined,
but we never defined it

To test:
1 - Apply unit test patch
2 - prove -v t/Koha/SearchEngine/Elasticsearch.t
3 - It fails
4 - Apply this patch
5 - It succeeds

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b87dc492fe4ea009ad3c72aca43add0515d6da1c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm