mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-31 01:52:30 +00:00
refactor!: replace Tantivy search engine with DuckDB
This commit is contained in:
2
src/modules/cache/imap/task.rs
vendored
2
src/modules/cache/imap/task.rs
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user