mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-23 16:50:49 +00:00
Properly scale map age to 0.975
This commit is contained in:
parent
e77930c8db
commit
7565a6e5c5
2 changed files with 28 additions and 17 deletions
|
@ -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?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue