Bug 37787: Undocument koha-worker --queue elastic_index

To test:
- Copy the koha-worker script to the standard location:
  $ sudo cp debian/scripts/koha-worker /usr/sbin/koha-worker
- Check "sudo koha-worker --help" and verify elastic_index is
  not mentioned in the list of "current queues"
- See https://wiki.koha-community.org/wiki/Testing_man_pages for
  how to check the "man" page. elastic_index should not be
  mentioned in the list of "Current queues".
- Both places aboce should have a note about elastic_index not
  being active when koha-es-indexer is running.

Signed-off-by: Sukhmandeep Benipal <sukhmandeep.benipal@inLibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit dba23e4da1)
This commit is contained in:
Magnus Enger 2024-08-30 10:00:25 +02:00 committed by Lucas Gass
parent 106e88f281
commit 30dc2f94f6
2 changed files with 6 additions and 2 deletions

View File

@ -63,7 +63,8 @@
<term><option>--queue</option></term>
<listitem>
<para>Allows specifying the queue worker (defaults to 'default').</para>
<para>Current queues are: default, long_tasks, elastic_index.</para>
<para>Current queues are: default, long_tasks.</para>
<para>Note: There used to be a queue called elastic_index, but since the introduction of koha-es-indexer this queue should not be active.</para>
</listitem>
</varlistentry>
<varlistentry>

View File

@ -48,12 +48,15 @@ $scriptname -h|--help
--stop Stop the worker daemon for the specified instances
--restart Restart the worker daemon for the specified instances
--queue Specify the queue/worker to restart - 'default' is used if not specified
current queues are: default, long_tasks, elastic_index
current queues are: default, long_tasks
--status Show the status of the worker for the specified instances
--quiet|-q Make the script quiet about non existent instance names
(useful for calling from another scripts).
--help|-h Display this help message
Note: There used to be a queue called elastic_index, but since the introduction
of koha-es-indexer this queue should not be active.
EOF
}