From 3014edffbb27ad4fae90972f593096d739ccf280 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sat, 5 Sep 2026 22:40:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(db):=20=E4=BD=BF=E7=94=A8=20FULL=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E7=A1=AE=E4=BF=9D=E4=BA=8B=E5=8A=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=97=B6=E8=90=BD=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/pool.rs b/src/db/pool.rs index cd143e6d..5b309201 100644 --- a/src/db/pool.rs +++ b/src/db/pool.rs @@ -23,7 +23,7 @@ impl DatabasePool { .create_if_missing(true) .foreign_keys(true) .journal_mode(SqliteJournalMode::Wal) - .synchronous(SqliteSynchronous::Normal) + .synchronous(SqliteSynchronous::Full) .busy_timeout(Duration::from_secs(5)); let pool = SqlitePoolOptions::new()