Skip to content

Conversation

@terror
Copy link
Contributor

@terror terror commented Mar 27, 2025

No description provided.

Comment on lines +76 to +77
#[arg(long, help = "Use search index at <SEARCH_INDEX>.")]
pub(crate) search_index: Option<PathBuf>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this doesn't even need to be configurable initially. We could just put it into the ord data dir.

Comment on lines +289 to +291
if search_indexer.join().is_err() {
log::warn!("Search index thread panicked; join failed");
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just good for debuggability:

Suggested change
if search_indexer.join().is_err() {
log::warn!("Search index thread panicked; join failed");
}
if let Err(err) = search_indexer.join() {
log::warn!("Search index thread panicked: {err}");
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants