Bugzilla – Attachment 182704 Details for
Bug 39961
koha-create doesn't start all queues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39961: Make `koha-create` start all queues
Bug-39961-Make-koha-create-start-all-queues.patch (text/plain), 1.30 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-21 19:48:50 UTC
(
hide
)
Description:
Bug 39961: Make `koha-create` start all queues
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-21 19:48:50 UTC
Size:
1.30 KB
patch
obsolete
>From 7dc5c8b6680f1d0f759d8496ad189b9d3361d044 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 21 May 2025 16:40:40 -0300 >Subject: [PATCH] Bug 39961: Make `koha-create` start all queues > >Taking advantage of the `get_worker_queues` function introduced in bug >31124, this patch makes `koha-create` start all defined queues. > >To test: >1. Run: > $ ktd --shell > k$ sudo -s > k$ koha-create --create-db test >=> FAIL: No mention of `long_tasks` >2. Apply 31124 and then this patch >3. Run: > k$ cp debian/scripts/koha-functions.sh \ > /usr/share/koha/bin/koha-functions.sh > k$ debian/scripts/koha-create --create-db test1 >=> SUCCESS: `long_tasks` worker is started >4. Sign off :-D >--- > debian/scripts/koha-create | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index c0272a526e8..1f32d5eee84 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -908,8 +908,10 @@ then > # Start Zebra. > koha-zebra --start "$name" > >- # Start worker >- koha-worker --start "$name" >+ # Start workers >+ for queue in $(get_worker_queues); do >+ koha-worker --queue $queue --start "$name" >+ done > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > # Start Indexer daemon >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39961
:
182704
|
182705
|
182706
|
182716
|
182717
|
183055
|
183056