refactor!: replace Tantivy search engine with DuckDB

This commit is contained in:
rustmailer
2026-03-03 12:30:26 +08:00
parent ef4ab3496e
commit d2936ed4a7
52 changed files with 3594 additions and 1821 deletions

View File

@@ -54,7 +54,7 @@ impl AccountSyncTask {
let task = move |param: Option<u64>| {
let account_id = param.unwrap();
Box::pin(async move {
let account = AccountModel::get(account_id).await.ok();
let account = AccountModel::async_get(account_id).await.ok();
match account {
Some(account) => {
if !account.enabled {