Bug 26309: Make cxn_pool configurable
authorNick Clemens <nick@bywatersolutions.com>
Thu, 27 Aug 2020 15:03:17 +0000 (15:03 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Sep 2020 11:20:06 +0000 (13:20 +0200)
commitb87dc492fe4ea009ad3c72aca43add0515d6da1c
treeaa8632041f3f64429349afbdb2d18b8b91d8fb93
parent2e421ed7a4e9bd3336b8e2b1eb9200c8c6342462
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>
Koha/SearchEngine/Elasticsearch.pm