1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00

Bump sqlx from 0.5.13 to 0.6.0

This commit is contained in:
Quentin Gliech
2022-06-27 11:11:29 +02:00
parent 3ac3ff3c69
commit fee9d46dfc
7 changed files with 32 additions and 53 deletions

View File

@@ -21,7 +21,7 @@ url = { version = "2.2.2", features = ["serde"] }
serde = { version = "1.0.137", features = ["derive"] }
serde_with = { version = "1.14.0", features = ["hex", "chrono"] }
serde_json = "1.0.81"
sqlx = { version = "0.5.13", features = ["runtime-tokio-rustls", "postgres"] }
sqlx = { version = "0.6.0", features = ["runtime-tokio-rustls", "postgres"] }
lettre = { version = "0.10.0-rc.7", default-features = false, features = ["serde", "builder"] }
rand = "0.8.5"

View File

@@ -209,7 +209,7 @@ impl DatabaseConfig {
PgPoolOptions::new()
.max_connections(self.max_connections.into())
.min_connections(self.min_connections)
.connect_timeout(self.connect_timeout)
.acquire_timeout(self.connect_timeout)
.idle_timeout(self.idle_timeout)
.max_lifetime(self.max_lifetime)
.connect_with(options)