server: attempt concurrency with graphql::search and fail

This commit is contained in:
2024-12-15 15:09:41 -08:00
parent 39ea5c5458
commit 7c943afc2b
2 changed files with 17 additions and 8 deletions

View File

@@ -465,6 +465,8 @@ pub struct Notmuch {
config_path: Option<PathBuf>,
}
// TODO: rewrite to use tokio::process::Command and make everything async to see if that helps with
// concurrency being more parallel.
impl Notmuch {
pub fn with_config<P: AsRef<Path>>(config_path: P) -> Notmuch {
Notmuch {