Commit Graph

4 Commits

Author SHA1 Message Date
Peter Štibraný 707c486a46 Rebuild search indexes asynchronously (#111829)
* Add "debouncer" queue, which can combine incoming elements.

* Rebuild indexes asynchronously.

* Remove duplicate method.

* Fix bleve tests.

* Extracted combineRebuildRequests and added test for it.

* Add TestShouldRebuildIndex

* Added TestFindIndexesForRebuild

* Added TestFindIndexesForRebuild

* Introduce index_rebuild_workers option.

* Add metric for rebuild queue length.

* Add TestRebuildIndexes.

* Fix import.

* Linter, review feedback.
2025-10-01 11:52:09 +02:00
Jean-Philippe Quéméner 648e0bc660 fix(util): flaky debouncer test (#105541) 2025-05-16 13:47:09 +02:00
Jean-Philippe Quéméner 6c45cc9e2d fix(util): don't use wall clock time for testing (#103924) 2025-04-11 20:01:26 +02:00
Jean-Philippe Quéméner 8b984a25e4 feat(util): add key based debouncer (#102073) 2025-03-14 17:11:09 +01:00