Bug 40890: Move fetching of batch size to within the instance loop
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
03aec74eb6
commit
c5cb44a8e4
|
|
@ -163,7 +163,7 @@ set_action()
|
|||
|
||||
op=""
|
||||
quiet="no"
|
||||
batch_size=$(get_es_indexer_batch_size ${name})
|
||||
batch_size=10
|
||||
|
||||
# Read command line parameters
|
||||
while [ $# -gt 0 ]; do
|
||||
|
|
@ -208,6 +208,8 @@ if [ $# -gt 0 ]; then
|
|||
worker_DAEMON="${KOHA_HOME}/${KOHA_BINDIR}/workers/es_indexer_daemon.pl"
|
||||
export PERL5LIB
|
||||
|
||||
batch_size=$(get_es_indexer_batch_size ${name})
|
||||
|
||||
case $op in
|
||||
"start")
|
||||
start_es_indexer $name
|
||||
|
|
|
|||
Loading…
Reference in New Issue