Properly scale map age to 0.975

This commit is contained in:
Natsu Kagami 2024-08-05 16:04:54 +02:00
parent e77930c8db
commit 7565a6e5c5
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 28 additions and 17 deletions

View file

@ -18,7 +18,8 @@ pub async fn connect(path: impl AsRef<Path>) -> Result<Pool> {
.filename(path)
.foreign_keys(true)
.create_if_missing(true)
.journal_mode(sqlite::SqliteJournalMode::Wal),
.journal_mode(sqlite::SqliteJournalMode::Wal)
.synchronous(sqlite::SqliteSynchronous::Normal),
)
.await?;