From e8e725538d53c5e317163f5ffad81ca572c871be Mon Sep 17 00:00:00 2001 From: NathanFlurry Date: Wed, 19 Jun 2024 22:32:17 +0000 Subject: [PATCH] feat(infra): enable configuring min & max cockroach pool conns (#922) ## Changes --- lib/bolt/config/src/ns.rs | 2 + lib/bolt/config/src/service.rs | 21 - lib/bolt/core/src/context/service.rs | 14 +- svc/Cargo.lock | 584 ++++++------------ svc/api/auth/Service.toml | 3 - svc/api/cloud/Service.toml | 2 - svc/api/group/Service.toml | 3 - svc/api/identity/Service.toml | 3 - svc/api/matchmaker/Service.toml | 3 - svc/api/monolith/Service.toml | 2 - svc/pkg/cdn/worker/Service.toml | 3 - svc/pkg/job-run/worker/Service.toml | 3 - svc/pkg/mm/worker/Service.toml | 3 - .../monolith/standalone/worker/Service.toml | 3 - .../standalone/workflow-worker/Service.toml | 2 - 15 files changed, 204 insertions(+), 447 deletions(-) diff --git a/lib/bolt/config/src/ns.rs b/lib/bolt/config/src/ns.rs index aa9005a667..d49c270cfa 100644 --- a/lib/bolt/config/src/ns.rs +++ b/lib/bolt/config/src/ns.rs @@ -286,6 +286,8 @@ pub struct Turnstile { pub struct Service { pub count: usize, pub resources: ServiceResources, + pub crdb_min_connections: Option, + pub crdb_max_connections: Option, } #[derive(Serialize, Deserialize, Clone, Debug)] diff --git a/lib/bolt/config/src/service.rs b/lib/bolt/config/src/service.rs index 5c62ec2192..664752daee 100644 --- a/lib/bolt/config/src/service.rs +++ b/lib/bolt/config/src/service.rs @@ -36,9 +36,6 @@ pub struct ServiceConfig { #[serde(default)] pub resources: ServiceResourcesMap, - - #[serde(default)] - pub cockroachdb: CockroachDB, } #[derive(Deserialize, Clone, Debug)] @@ -240,24 +237,6 @@ impl Default for ServiceResourcesMap { } } -#[derive(Deserialize, Clone, Debug)] -#[serde(rename_all = "kebab-case", deny_unknown_fields)] -pub struct CockroachDB { - // Sets a minimum number of connections to the database. This is important to ensure that - // the initial queries are not delayed by a large surge of TCP connections immediately - // after startup. - // - // To figure out a healthy number for this value, see the `rivet_crdb_pool_conn_size` - // metric to see how many connections are being used for a given service. - pub min_connections: usize, -} - -impl Default for CockroachDB { - fn default() -> Self { - Self { min_connections: 1 } - } -} - mod defaults { pub fn singleton() -> bool { false diff --git a/lib/bolt/core/src/context/service.rs b/lib/bolt/core/src/context/service.rs index 66e2b3aa61..fc07009253 100644 --- a/lib/bolt/core/src/context/service.rs +++ b/lib/bolt/core/src/context/service.rs @@ -923,10 +923,12 @@ impl ServiceContextData { ); } - env.insert( - "CRDB_MIN_CONNECTIONS".into(), - self.config().cockroachdb.min_connections.to_string(), - ); + if let Some(x) = ns_service_config.crdb_min_connections { + env.insert("CRDB_MIN_CONNECTIONS".into(), x.to_string()); + } + if let Some(x) = ns_service_config.crdb_max_connections { + env.insert("CRDB_MAX_CONNECTIONS".into(), x.to_string()); + } if project_ctx.ns().prometheus.is_some() && self.depends_on_prometheus_api() { env.insert( @@ -1374,10 +1376,14 @@ impl ServiceContextData { config::ns::ClusterKind::SingleNode { .. } => config::ns::Service { count: 1, resources: self.config().resources.single_node.clone(), + crdb_min_connections: None, + crdb_max_connections: None, }, config::ns::ClusterKind::Distributed { .. } => config::ns::Service { count: 2, resources: self.config().resources.distributed.clone(), + crdb_min_connections: None, + crdb_max_connections: None, }, }); diff --git a/svc/Cargo.lock b/svc/Cargo.lock index 439c66bf04..f6dfb381c9 100644 --- a/svc/Cargo.lock +++ b/svc/Cargo.lock @@ -1491,7 +1491,7 @@ dependencies = [ "reqwest", "rivet-operation", "rivet-util-build", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -1510,7 +1510,7 @@ dependencies = [ "rivet-connection", "rivet-operation", "rivet-pools", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -1529,7 +1529,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1542,7 +1542,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1609,7 +1609,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-captcha", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1669,7 +1669,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1681,7 +1681,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1692,7 +1692,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1706,7 +1706,7 @@ dependencies = [ "game-resolve-namespace-id", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1721,7 +1721,7 @@ dependencies = [ "game-resolve-namespace-id", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1735,7 +1735,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1748,7 +1748,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1760,7 +1760,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1772,7 +1772,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1786,7 +1786,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -1802,7 +1802,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1815,7 +1815,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1828,7 +1828,7 @@ dependencies = [ "faker-game-version", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1857,7 +1857,7 @@ dependencies = [ "itertools 0.10.5", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "unzip-n", ] @@ -1896,7 +1896,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1907,7 +1907,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -1918,7 +1918,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2069,7 +2069,7 @@ dependencies = [ "rivet-util", "serde", "serde_json", - "sqlx 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "sqlx", "thiserror", "tokio", "tracing", @@ -2187,7 +2187,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2199,7 +2199,7 @@ dependencies = [ "cloud-game-config-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2211,7 +2211,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -2232,7 +2232,7 @@ dependencies = [ "mm-config-namespace-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2251,7 +2251,7 @@ dependencies = [ "mm-config-namespace-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2265,7 +2265,7 @@ dependencies = [ "game-token-development-validate", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -2280,7 +2280,7 @@ dependencies = [ "prost 0.10.4", "rivet-claims", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -2301,7 +2301,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2327,7 +2327,7 @@ dependencies = [ "region-list", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2373,7 +2373,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2384,7 +2384,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2395,7 +2395,7 @@ dependencies = [ "chirp-worker", "ip-info", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2406,7 +2406,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2417,7 +2417,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2432,7 +2432,7 @@ dependencies = [ "rivet-metrics", "rivet-operation", "rivet-runtime", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -2449,7 +2449,7 @@ dependencies = [ "nomad_client", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2529,7 +2529,7 @@ dependencies = [ "rivet-operation", "rivet-runtime", "rivet-util-cluster", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -2543,7 +2543,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2555,7 +2555,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-cluster", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2566,7 +2566,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2582,7 +2582,7 @@ dependencies = [ "rivet-operation", "rivet-runtime", "rivet-util-cluster", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -2596,7 +2596,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2607,7 +2607,7 @@ dependencies = [ "chirp-worker", "cluster-server-list", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2618,7 +2618,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2629,7 +2629,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2640,7 +2640,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -2674,7 +2674,7 @@ dependencies = [ "rivet-util-cluster", "s3-util", "serde_yaml", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "ssh2", "thiserror", "token-create", @@ -2919,7 +2919,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-prepare", ] @@ -2932,7 +2932,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -3003,7 +3003,7 @@ dependencies = [ "rand", "rivet-operation", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3148,7 +3148,7 @@ dependencies = [ "email-verification-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3168,7 +3168,7 @@ dependencies = [ "reqwest", "rivet-operation", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-prepare", ] @@ -3239,7 +3239,7 @@ dependencies = [ "rivet-operation", "serde", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3407,7 +3407,7 @@ dependencies = [ "region-get", "region-list", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3670,7 +3670,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -3687,7 +3687,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-team", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "team-get", ] @@ -3701,7 +3701,7 @@ dependencies = [ "game-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-file-list", "upload-get", ] @@ -3714,7 +3714,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3726,7 +3726,7 @@ dependencies = [ "faker-game", "faker-team", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3739,7 +3739,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -3756,7 +3756,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3770,7 +3770,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3784,7 +3784,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3798,7 +3798,7 @@ dependencies = [ "game-namespace-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3840,7 +3840,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3857,7 +3857,7 @@ dependencies = [ "prost 0.10.4", "region-list-for-game", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3869,7 +3869,7 @@ dependencies = [ "faker-game", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3882,7 +3882,7 @@ dependencies = [ "game-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3896,7 +3896,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3920,7 +3920,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-game-user", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -3934,7 +3934,7 @@ dependencies = [ "game-user-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3949,7 +3949,7 @@ dependencies = [ "game-user-link-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -3964,7 +3964,7 @@ dependencies = [ "game-user-link-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3977,7 +3977,7 @@ dependencies = [ "game-user-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -3993,7 +3993,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4022,7 +4022,7 @@ dependencies = [ "rivet-metrics", "rivet-runtime", "rivet-util-game-user", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", "token-exchange", "token-revoke", @@ -4050,7 +4050,7 @@ dependencies = [ "game-version-list", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4063,7 +4063,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4076,7 +4076,7 @@ dependencies = [ "game-version-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4524,7 +4524,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4536,7 +4536,7 @@ dependencies = [ "identity-config-namespace-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4549,7 +4549,7 @@ dependencies = [ "faker-game-version", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4573,7 +4573,7 @@ dependencies = [ "identity-config-version-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4678,7 +4678,7 @@ dependencies = [ "rivet-operation", "serde", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4765,7 +4765,7 @@ dependencies = [ "rivet-pools", "rivet-runtime", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -4815,7 +4815,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-job", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4863,7 +4863,7 @@ dependencies = [ "rustls 0.20.9", "serde", "sha2", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", "webpki 0.22.4", "webpki-roots 0.22.6", @@ -4900,7 +4900,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4912,7 +4912,7 @@ dependencies = [ "kv-config-namespace-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4925,7 +4925,7 @@ dependencies = [ "faker-game-version", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4949,7 +4949,7 @@ dependencies = [ "kv-config-version-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -4960,7 +4960,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5068,7 +5068,7 @@ dependencies = [ "rivet-util-linode", "serde", "serde_json", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -5083,7 +5083,7 @@ dependencies = [ "rivet-operation", "rivet-util-cluster", "rivet-util-linode", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5098,7 +5098,7 @@ dependencies = [ "rivet-operation", "rivet-util-cluster", "rivet-util-linode", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5113,7 +5113,7 @@ dependencies = [ "rivet-operation", "rivet-util-cluster", "rivet-util-linode", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5129,7 +5129,7 @@ dependencies = [ "rivet-runtime", "rivet-util-cluster", "rivet-util-linode", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5231,7 +5231,7 @@ dependencies = [ "rivet-metrics", "rivet-operation", "rivet-runtime", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -5394,7 +5394,7 @@ dependencies = [ "chirp-client", "chirp-worker", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5404,7 +5404,7 @@ dependencies = [ "chirp-client", "chirp-worker", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5418,7 +5418,7 @@ dependencies = [ "mm-config-version-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5434,7 +5434,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5448,7 +5448,7 @@ dependencies = [ "mm-config-version-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5462,7 +5462,7 @@ dependencies = [ "mm-config-namespace-get", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5483,7 +5483,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5495,7 +5495,7 @@ dependencies = [ "mm-config-namespace-create", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5512,7 +5512,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5535,7 +5535,7 @@ dependencies = [ "rivet-util-job", "rivet-util-mm", "s3-util", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tier-list", "upload-get", ] @@ -5553,7 +5553,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5588,7 +5588,7 @@ dependencies = [ "rivet-pools", "rivet-runtime", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -5636,7 +5636,7 @@ dependencies = [ "chirp-worker", "faker-mm-lobby", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5649,7 +5649,7 @@ dependencies = [ "faker-mm-lobby", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5662,7 +5662,7 @@ dependencies = [ "faker-mm-lobby-row", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5684,7 +5684,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5697,7 +5697,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5709,7 +5709,7 @@ dependencies = [ "faker-mm-lobby", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5722,7 +5722,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5742,7 +5742,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5755,7 +5755,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5768,7 +5768,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-mm", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5780,7 +5780,7 @@ dependencies = [ "faker-mm-lobby", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -5835,7 +5835,7 @@ dependencies = [ "rivet-util-mm", "s3-util", "serde", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "team-get", "tier-list", "token-create", @@ -6862,7 +6862,7 @@ dependencies = [ "faker-region", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -6876,7 +6876,7 @@ dependencies = [ "prost 0.10.4", "rivet-operation", "rivet-util-cluster", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -6890,7 +6890,7 @@ dependencies = [ "faker-region", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -6905,7 +6905,7 @@ dependencies = [ "region-get", "region-list", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -6920,7 +6920,7 @@ dependencies = [ "region-get", "region-list", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -6935,7 +6935,7 @@ dependencies = [ "region-get", "region-list-for-game", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -7362,7 +7362,7 @@ dependencies = [ "rand", "redis", "rivet-metrics", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "thiserror", "tokio", "tokio-util 0.7.10", @@ -8191,70 +8191,16 @@ dependencies = [ "unicode_categories", ] -[[package]] -name = "sqlx" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa" -dependencies = [ - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-macros 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-mysql 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-postgres 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-sqlite 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "sqlx" version = "0.7.4" source = "git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b#08d6e61aa0572e7ec557abbedb72cebb96e1ac5b" dependencies = [ - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-macros 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-mysql 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-postgres 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-sqlite 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", -] - -[[package]] -name = "sqlx-core" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" -dependencies = [ - "ahash 0.8.11", - "atoi", - "byteorder", - "bytes", - "crc", - "crossbeam-queue", - "either", - "event-listener", - "futures-channel", - "futures-core", - "futures-intrusive", - "futures-io", - "futures-util", - "hashlink", - "hex", - "indexmap 2.2.6", - "ipnetwork", - "log", - "memchr", - "once_cell", - "paste", - "percent-encoding", - "serde", - "serde_json", - "sha2", - "smallvec", - "sqlformat", - "thiserror", - "tokio", - "tokio-stream", - "tracing", - "url", - "uuid", + "sqlx-core", + "sqlx-macros", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", ] [[package]] @@ -8300,19 +8246,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "sqlx-macros" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127" -dependencies = [ - "proc-macro2", - "quote", - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-macros-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.109", -] - [[package]] name = "sqlx-macros" version = "0.7.4" @@ -8320,37 +8253,11 @@ source = "git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72c dependencies = [ "proc-macro2", "quote", - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-macros-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx-core", + "sqlx-macros-core", "syn 1.0.109", ] -[[package]] -name = "sqlx-macros-core" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8" -dependencies = [ - "dotenvy", - "either", - "heck 0.4.1", - "hex", - "once_cell", - "proc-macro2", - "quote", - "serde", - "serde_json", - "sha2", - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-mysql 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-postgres 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sqlx-sqlite 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.109", - "tempfile", - "tokio", - "url", -] - [[package]] name = "sqlx-macros-core" version = "0.7.4" @@ -8366,59 +8273,16 @@ dependencies = [ "serde", "serde_json", "sha2", - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-mysql 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-postgres 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "sqlx-sqlite 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx-core", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", "syn 1.0.109", "tempfile", "tokio", "url", ] -[[package]] -name = "sqlx-mysql" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed31390216d20e538e447a7a9b959e06ed9fc51c37b514b46eb758016ecd418" -dependencies = [ - "atoi", - "base64 0.21.7", - "bitflags 2.5.0", - "byteorder", - "bytes", - "crc", - "digest", - "dotenvy", - "either", - "futures-channel", - "futures-core", - "futures-io", - "futures-util", - "generic-array", - "hex", - "hkdf", - "hmac", - "itoa 1.0.11", - "log", - "md-5", - "memchr", - "once_cell", - "percent-encoding", - "rand", - "rsa", - "serde", - "sha1", - "sha2", - "smallvec", - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "stringprep", - "thiserror", - "tracing", - "uuid", - "whoami", -] - [[package]] name = "sqlx-mysql" version = "0.7.4" @@ -8453,47 +8317,7 @@ dependencies = [ "sha1", "sha2", "smallvec", - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", - "stringprep", - "thiserror", - "tracing", - "uuid", - "whoami", -] - -[[package]] -name = "sqlx-postgres" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c824eb80b894f926f89a0b9da0c7f435d27cdd35b8c655b114e58223918577e" -dependencies = [ - "atoi", - "base64 0.21.7", - "bitflags 2.5.0", - "byteorder", - "crc", - "dotenvy", - "etcetera", - "futures-channel", - "futures-core", - "futures-io", - "futures-util", - "hex", - "hkdf", - "hmac", - "home", - "ipnetwork", - "itoa 1.0.11", - "log", - "md-5", - "memchr", - "once_cell", - "rand", - "serde", - "serde_json", - "sha2", - "smallvec", - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "sqlx-core", "stringprep", "thiserror", "tracing", @@ -8533,7 +8357,7 @@ dependencies = [ "serde_json", "sha2", "smallvec", - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx-core", "stringprep", "thiserror", "tracing", @@ -8541,30 +8365,6 @@ dependencies = [ "whoami", ] -[[package]] -name = "sqlx-sqlite" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa" -dependencies = [ - "atoi", - "flume", - "futures-channel", - "futures-core", - "futures-executor", - "futures-intrusive", - "futures-util", - "libsqlite3-sys", - "log", - "percent-encoding", - "serde", - "sqlx-core 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing", - "url", - "urlencoding", - "uuid", -] - [[package]] name = "sqlx-sqlite" version = "0.7.4" @@ -8581,7 +8381,7 @@ dependencies = [ "log", "percent-encoding", "serde", - "sqlx-core 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx-core", "tracing", "url", "urlencoding", @@ -8770,7 +8570,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -8784,7 +8584,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-file-list", "upload-get", ] @@ -8798,7 +8598,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8811,7 +8611,7 @@ dependencies = [ "rivet-health-checks", "rivet-metrics", "rivet-runtime", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "team-member-list", "team-user-ban-get", ] @@ -8824,7 +8624,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8835,7 +8635,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8846,7 +8646,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8857,7 +8657,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8869,7 +8669,7 @@ dependencies = [ "faker-team", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8880,7 +8680,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8891,7 +8691,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8903,7 +8703,7 @@ dependencies = [ "faker-team", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "team-get", ] @@ -8917,7 +8717,7 @@ dependencies = [ "prost 0.10.4", "regex", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8928,7 +8728,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8939,7 +8739,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -8996,7 +8796,7 @@ dependencies = [ "rivet-operation", "rivet-pools", "rivet-runtime", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "team-get", "team-member-count", "tokio", @@ -9130,7 +8930,7 @@ dependencies = [ "prost 0.10.4", "rivet-claims", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -9142,7 +8942,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -9155,7 +8955,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -9168,7 +8968,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] @@ -9706,7 +9506,7 @@ dependencies = [ "reqwest", "rivet-operation", "s3-util", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-get", "upload-prepare", "url", @@ -9721,7 +9521,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -9733,7 +9533,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-prepare", ] @@ -9746,7 +9546,7 @@ dependencies = [ "chrono", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-prepare", ] @@ -9762,7 +9562,7 @@ dependencies = [ "reqwest", "rivet-operation", "s3-util", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", ] @@ -9781,7 +9581,7 @@ dependencies = [ "rivet-operation", "rivet-pools", "s3-util", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "tokio", "tracing", "tracing-subscriber", @@ -9797,7 +9597,7 @@ dependencies = [ "rivet-metrics", "rivet-runtime", "s3-util", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-get", "upload-prepare", ] @@ -9846,7 +9646,7 @@ dependencies = [ "prost 0.10.4", "reqwest", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-complete", "upload-get", "upload-prepare", @@ -9890,7 +9690,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -9902,7 +9702,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -9914,7 +9714,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -9926,7 +9726,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -9938,7 +9738,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -9950,7 +9750,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -9974,7 +9774,7 @@ dependencies = [ "prost 0.10.4", "rand", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "upload-file-list", "upload-get", ] @@ -10000,7 +9800,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", ] @@ -10013,7 +9813,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", ] @@ -10025,7 +9825,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-follow-toggle", ] @@ -10038,7 +9838,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", "user-identity-get", ] @@ -10102,7 +9902,7 @@ dependencies = [ "rivet-metrics", "rivet-runtime", "rivet-util-user-presence", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -10115,7 +9915,7 @@ dependencies = [ "profanity-check", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-get", ] @@ -10139,7 +9939,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", ] @@ -10152,7 +9952,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", ] @@ -10166,7 +9966,7 @@ dependencies = [ "prost 0.10.4", "regex", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "user-identity-create", ] @@ -10199,7 +9999,7 @@ dependencies = [ "chirp-worker", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", ] [[package]] @@ -10211,7 +10011,7 @@ dependencies = [ "faker-user", "prost 0.10.4", "rivet-operation", - "sqlx 0.7.4 (git+https://github.com/rivet-gg/sqlx?rev=08d6e61aa0572e7ec557abbedb72cebb96e1ac5b)", + "sqlx", "token-create", ] diff --git a/svc/api/auth/Service.toml b/svc/api/auth/Service.toml index f7f194a17b..a78350aa84 100644 --- a/svc/api/auth/Service.toml +++ b/svc/api/auth/Service.toml @@ -8,6 +8,3 @@ kind = "rust" [secrets] "turnstile/main/secret_key" = { optional = true } -[cockroachdb] -min-connections = 2 - diff --git a/svc/api/cloud/Service.toml b/svc/api/cloud/Service.toml index a3b47acb93..d465575cc9 100644 --- a/svc/api/cloud/Service.toml +++ b/svc/api/cloud/Service.toml @@ -6,5 +6,3 @@ kind = "rust" [api-routes] -[cockroachdb] -min-connections = 16 diff --git a/svc/api/group/Service.toml b/svc/api/group/Service.toml index 2ec6d92cdd..57c4f45eb2 100644 --- a/svc/api/group/Service.toml +++ b/svc/api/group/Service.toml @@ -6,6 +6,3 @@ kind = "rust" [api-routes] -[cockroachdb] -min-connections = 8 - diff --git a/svc/api/identity/Service.toml b/svc/api/identity/Service.toml index 68de10c60e..8c659cc084 100644 --- a/svc/api/identity/Service.toml +++ b/svc/api/identity/Service.toml @@ -6,6 +6,3 @@ kind = "rust" [api-routes] -[cockroachdb] -min-connections = 8 - diff --git a/svc/api/matchmaker/Service.toml b/svc/api/matchmaker/Service.toml index e76d573c9d..370a18856e 100644 --- a/svc/api/matchmaker/Service.toml +++ b/svc/api/matchmaker/Service.toml @@ -6,6 +6,3 @@ kind = "rust" [api-routes] -[cockroachdb] -min-connections = 8 - diff --git a/svc/api/monolith/Service.toml b/svc/api/monolith/Service.toml index acb426ed2a..0fcaa7f929 100644 --- a/svc/api/monolith/Service.toml +++ b/svc/api/monolith/Service.toml @@ -96,5 +96,3 @@ memory = 256 cpu = 1000 memory = 1024 -[cockroachdb] -min-connections = 8 diff --git a/svc/pkg/cdn/worker/Service.toml b/svc/pkg/cdn/worker/Service.toml index 14d01b7e7b..6cd999b24d 100644 --- a/svc/pkg/cdn/worker/Service.toml +++ b/svc/pkg/cdn/worker/Service.toml @@ -9,6 +9,3 @@ kind = "rust" [databases] redis-cdn = {} -[cockroachdb] -min-connections = 8 - diff --git a/svc/pkg/job-run/worker/Service.toml b/svc/pkg/job-run/worker/Service.toml index a9339e23a0..bcfbc66d78 100644 --- a/svc/pkg/job-run/worker/Service.toml +++ b/svc/pkg/job-run/worker/Service.toml @@ -10,6 +10,3 @@ kind = "rust" db-job-state = {} redis-job = {} -[cockroachdb] -min-connections = 8 - diff --git a/svc/pkg/mm/worker/Service.toml b/svc/pkg/mm/worker/Service.toml index 1bb481ea77..a9d04db017 100644 --- a/svc/pkg/mm/worker/Service.toml +++ b/svc/pkg/mm/worker/Service.toml @@ -10,6 +10,3 @@ kind = "rust" db-mm-state = {} redis-mm = {} -[cockroachdb] -min-connections = 8 - diff --git a/svc/pkg/monolith/standalone/worker/Service.toml b/svc/pkg/monolith/standalone/worker/Service.toml index 029a767899..d4f7f31a28 100644 --- a/svc/pkg/monolith/standalone/worker/Service.toml +++ b/svc/pkg/monolith/standalone/worker/Service.toml @@ -15,6 +15,3 @@ memory = 512 cpu = 1000 memory = 1024 -[cockroachdb] -min-connections = 8 - diff --git a/svc/pkg/monolith/standalone/workflow-worker/Service.toml b/svc/pkg/monolith/standalone/workflow-worker/Service.toml index 06e3989ed2..02a7c967e7 100644 --- a/svc/pkg/monolith/standalone/workflow-worker/Service.toml +++ b/svc/pkg/monolith/standalone/workflow-worker/Service.toml @@ -15,5 +15,3 @@ memory = 512 cpu = 1000 memory = 1024 -[cockroachdb] -min-connections = 8