Update sqlx to enable statement cache

This commit is contained in:
link2xt
2021-04-07 00:36:36 +03:00
committed by link2xt
parent 6bb5721f29
commit 720135a915
3 changed files with 5 additions and 6 deletions

View File

@@ -85,7 +85,6 @@ impl Sql {
.read_only(false)
.busy_timeout(Duration::from_secs(100))
.create_if_missing(true)
.statement_cache_capacity(0) // XXX workaround for https://github.com/launchbadge/sqlx/issues/1147
.synchronous(SqliteSynchronous::Normal);
PoolOptions::<Sqlite>::new()