Bug 30260: Implement is_indexer_working check
This commit is contained in:
parent
9ed3fee3b7
commit
7230876845
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue