Bugzilla – Attachment 148331 Details for
Bug 33108
We need a way to launch the ES indexer automatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33108: (follow-up) Don't die, only warn if not using ES
Bug-33108-follow-up-Dont-die-only-warn-if-not-usin.patch (text/plain), 939 bytes, created by
Jonathan Druart
on 2023-03-17 11:32:44 UTC
(
hide
)
Description:
Bug 33108: (follow-up) Don't die, only warn if not using ES
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-17 11:32:44 UTC
Size:
939 bytes
patch
obsolete
>From 699c8e372696580f43b4ed5e17bbd06f6f2b828d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 2 Mar 2023 13:44:34 +0000 >Subject: [PATCH] Bug 33108: (follow-up) Don't die, only warn if not using ES > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > misc/workers/es_indexer_daemon.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/workers/es_indexer_daemon.pl b/misc/workers/es_indexer_daemon.pl >index b871acefcf8..3acfc6e252d 100755 >--- a/misc/workers/es_indexer_daemon.pl >+++ b/misc/workers/es_indexer_daemon.pl >@@ -73,7 +73,7 @@ pod2usage(0) if $help; > > $batch_size //= 10; > >-die "Not using Elasticsearch" unless C4::Context->preference('SearchEngine') eq 'Elasticsearch'; >+warn "Not using Elasticsearch" unless C4::Context->preference('SearchEngine') eq 'Elasticsearch'; > > my $logger = Koha::Logger->get({ interface => 'worker' }); > >-- >2.25.1
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 33108
:
147560
|
147574
|
147575
|
147576
|
147617
|
147618
|
147619
|
147620
|
147701
|
147702
|
148328
|
148329
|
148330
| 148331 |
148332