On 3/1/26 05:10, Paul Tomblin via Mailman-users wrote:

I did a "update_index_one_list" on each archive after I brought it into 
hyperkitty. I was impressed with the full text search.

The HyperKitty update_and_clean_index job runs monthly and does the same thing as the hourly update_index job plus removing index entries for messages that have been deleted from HyperKitty. It is very long running and there are lock contention issues between it and the hourly update_index job.

It's purpose is to drop entries for messages that have been removed. It's not critical that it runs at all. If you don't want to run it, you can apply a patch like:
```
--- a/hyperkitty/jobs/update_and_clean_index.py
+++ b/hyperkitty/jobs/update_and_clean_index.py
@@ -31,7 +31,7 @@ from hyperkitty.search_indexes import update_index

 class Job(BaseJob):
     help = "Update the full-text index and clean old entries"
-    when = "monthly"
+    when = "never"

     def execute(self):
         run_with_lock(update_index, remove=True)
```

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/HX6NZKICL7V2QWE2V4YNKIMSMQHARPUV/

This message sent to [email protected]

Reply via email to