-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reolad newest values after commit (update)
this commit fixes a bug where new updates to search values (packages + options) were not reflected at runtime and required a restart. this was due to the fact that at channelsearcher initialisation the reader was dropped and an old version of the searcher store instead since the searcher needs to be reinitialized for every query to guarantee up-to-date results, this lead to a non-functional search when the searcher is indexed first. by storing the reader instead and reinitializing the searcher on every request, new values are immediately reflected in search results
- Loading branch information
Showing
2 changed files
with
28 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters