mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
clear config cache before receiving a backup (with new config values)
This commit is contained in:
committed by
dignifiedquire
parent
411d0a7cd4
commit
1633b2fd26
@@ -167,6 +167,8 @@ pub async fn receive_backup_inner(
|
||||
let data = receiver_transfer.recv().await?;
|
||||
let progress = receiver_transfer.progress()?;
|
||||
|
||||
context.sql.config_cache.write().await.clear();
|
||||
|
||||
// progress report
|
||||
let ctx = context.clone();
|
||||
let progress_task = tokio::spawn(async move {
|
||||
|
||||
Reference in New Issue
Block a user