Bug 30260: Implement is_indexer_working check

This commit is contained in:
Aleisha Amohia 2024-01-05 11:22:47 +13:00
parent 9ed3fee3b7
commit 7230876845

View file

@ -31,9 +31,14 @@ for singleinstancename in $(koha-list --enabled)
do
if ! is_indexer_running $singleinstancename; then
instancearray+=("false")
else
# indexer process is running, but is it indexing records?
if ! is_indexer_working $singleinstancename; then
instancearray+=("false")
else
instancearray+=("true")
fi
fi
done
indexstatus=0