Merge branch 'master' into flub/send-backup

This commit is contained in:
Floris Bruynooghe
2023-03-02 11:35:17 +01:00
72 changed files with 2256 additions and 1383 deletions

View File

@@ -760,7 +760,7 @@ async fn export_database(context: &Context, dest: &Path, passphrase: String) ->
sql::housekeeping(context).await.ok_or_log(context);
context
.sql
.call(|conn| {
.call_write(|conn| {
conn.execute("VACUUM;", params![])
.map_err(|err| warn!(context, "Vacuum failed, exporting anyway {err}"))
.ok();