Bugzilla – Attachment 21391 Details for
Bug 6435
[ENH] Added daemon mode parameters to rebuild_zebra.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6435 Add daemon mode to rebuild_zebra.pl (w/typo fix)
Bug-6435-Add-daemon-mode-to-rebuildzebrapl-wtypo-f.patch (text/plain), 1.48 KB, created by
Chris Cormack
on 2013-09-24 06:04:12 UTC
(
hide
)
Description:
Bug 6435 Add daemon mode to rebuild_zebra.pl (w/typo fix)
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-09-24 06:04:12 UTC
Size:
1.48 KB
patch
obsolete
>From fd7f18010de21fd5a8e88c7d3b305bb7c45ef44d Mon Sep 17 00:00:00 2001 >From: Doug Kingston <dpk@randomnotes.org> >Date: Fri, 13 Sep 2013 12:12:25 -0700 >Subject: [PATCH] Bug 6435 Add daemon mode to rebuild_zebra.pl (w/typo fix) > >This change adds code to check the zebraqueue table with a cheap SQL query >and a daemon loop that checks for new entries and processes them incremantally >before sleeping for a controllable number of seconds. The default is 5 seconds >which provides a near realtime search index update. This is desirable particularly >for libraries that are doing active catalogue updating. > >Help text updated. Tested against a live 3.12 system. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > misc/migration_tools/rebuild_zebra.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl >index 2e01e9c..a91c681 100755 >--- a/misc/migration_tools/rebuild_zebra.pl >+++ b/misc/migration_tools/rebuild_zebra.pl >@@ -725,7 +725,7 @@ Parameters: > the zebra search index with low system overhead. > Use -sleep to control the checking interval. > >- -sleep 10 Seconcds to sleep between checks of the zebraqueue >+ -sleep 10 Seconds to sleep between checks of the zebraqueue > table in daemon mode. The default is 5 seconds. > > -z select only updated and deleted >-- >1.8.4.rc2
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 6435
:
19267
|
19710
|
20574
|
20575
|
21097
|
21099
|
21390
|
21391
|
22039
|
22040
|
22080
|
22201
|
22457
|
22851
|
22859
|
22986