4 ms·
I agree that there's lots of room for improvement in both the benchmark and the exposition around it, but I disagree with: > no use of [...] synchronous and jo
by cldellow 4y ago
I agree that there's lots of room for improvement in both the benchmark and the exposition around it, but I disagree with:
> no use of [...] synchronous and journal mode
They enable both of these when configuring the connection:
let connection_options = SqliteConnectOptions::from_str(&database_url)?
.create_if_missing(true)
.journal_mode(SqliteJournalMode::Wal)
.synchronous(SqliteSynchronous::Normal)
.busy_timeout(pool_timeout);