Skip to content

Commit

Permalink
chore: add sqlx max connection timeout jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 14, 2024
1 parent c8b1cd7 commit 6ba956d
Show file tree
Hide file tree
Showing 178 changed files with 356 additions and 178 deletions.
3 changes: 2 additions & 1 deletion lib/pools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ governor = "0.6"
url = "2.5.0"

[dependencies.sqlx]
version = "0.7.1"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false
features = [
"runtime-tokio",
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/build/ops/create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ game-get = { path = "../../../game/ops/get" }
upload-prepare = { path = "../../../upload/ops/prepare" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/build/ops/get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/build/ops/list-for-game/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/build/standalone/default-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ upload-complete = { path = "../../../upload/ops/complete" }
upload-prepare = { path = "../../../upload/ops/prepare" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/captcha/ops/request/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ chrono = "0.4"
util-captcha = { package = "rivet-util-captcha", path = "../../util" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-auth-user-remove/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-auth-user-update/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-domain-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ game-get = { path = "../../../game/ops/get" }
game-resolve-namespace-id = { path = "../../../game/ops/resolve-namespace-id" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-domain-remove/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ game-get = { path = "../../../game/ops/get" }
game-resolve-namespace-id = { path = "../../../game/ops/resolve-namespace-id" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/namespace-resolve-domain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/ns-auth-type-set/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/ns-enable-domain-public-auth-set/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/site-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ game-get = { path = "../../../game/ops/get" }
upload-prepare = { path = "../../../upload/ops/prepare" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/site-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/site-list-for-game/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/version-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cdn/ops/version-publish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ unzip-n = "0.1.2"
itertools = "0.10.5"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cf-custom-hostname/ops/get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cf-custom-hostname/ops/resolve-hostname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/game-config-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/game-config-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/game-token-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ prost = "0.10"
token-create = { path = "../../../token/ops/create" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/namespace-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ kv-config-namespace-create = { path = "../../../kv-config/ops/namespace-create"
identity-config-namespace-create = { path = "../../../identity-config/ops/namespace-create" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/namespace-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ kv-config-namespace-get = { path = "../../../kv-config/ops/namespace-get" }
mm-config-namespace-get = { path = "../../../mm-config/ops/namespace-get" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ game-token-development-validate = { path = "../../../game/ops/token-development-
token-create = { path = "../../../token/ops/create" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/namespace-token-public-create/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ game-namespace-get = { path = "../../../game/ops/namespace-get" }
token-create = { path = "../../../token/ops/create" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/version-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ kv-config-version-get = { path = "../../../kv-config/ops/version-get" }
mm-config-version-get = { path = "../../../mm-config/ops/version-get" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cloud/ops/version-publish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ mm-config-version-prepare = { path = "../../../mm-config/ops/version-prepare" }
mm-config-version-publish = { path = "../../../mm-config/ops/version-publish" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/datacenter-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ prost = "0.10"
rivet-operation = { path = "../../../../../lib/operation/core" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/datacenter-list/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ prost = "0.10"
rivet-operation = { path = "../../../../../lib/operation/core" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/datacenter-location-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ rivet-operation = { path = "../../../../../lib/operation/core" }
ip-info = { path = "../../../ip/ops/info" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ prost = "0.10"
rivet-operation = { path = "../../../../../lib/operation/core" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/datacenter-tls-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ prost = "0.10"
rivet-operation = { path = "../../../../../lib/operation/core" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/datacenter-topology-get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ git = "https://github.com/rivet-gg/nomad-client"
rev = "abb66bf0c30c7ff5b0c695dae952481c33e538b5" # pragma: allowlist secret

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/get-for-game/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ rivet-operation = { path = "../../../../../lib/operation/core" }
util-cluster = { package = "rivet-util-cluster", path = "../../util" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion svc/pkg/cluster/ops/get/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ prost = "0.10"
rivet-operation = { path = "../../../../../lib/operation/core" }

[dependencies.sqlx]
version = "0.7"
git = "https://github.com/rivet-gg/sqlx"
rev = "08d6e61aa0572e7ec557abbedb72cebb96e1ac5b"
default-features = false

[dev-dependencies]
Expand Down
Loading

0 comments on commit 6ba956d

Please sign in to comment.