From 49ef097b8ed49029c599fce6b7e6688c4efbd6e7 Mon Sep 17 00:00:00 2001 From: Andrew Plaza Date: Fri, 13 Dec 2024 16:18:21 -0500 Subject: [PATCH] move back to 25 db connections --- .cargo/nextest.toml | 1 + .github/workflows/test-http-api.yml | 4 ++-- xmtp_mls/src/configuration.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.cargo/nextest.toml b/.cargo/nextest.toml index 07216b1ff..b7afc9364 100644 --- a/.cargo/nextest.toml +++ b/.cargo/nextest.toml @@ -1,2 +1,3 @@ [profile.default] retries = 3 +default-filter = "not test(test_stream_all_messages_does_not_lose_messages)" diff --git a/.github/workflows/test-http-api.yml b/.github/workflows/test-http-api.yml index e906f38aa..92e6c60cb 100644 --- a/.github/workflows/test-http-api.yml +++ b/.github/workflows/test-http-api.yml @@ -41,6 +41,6 @@ jobs: - name: Install nextest uses: taiki-e/install-action@nextest - name: build tests - run: cargo nextest run --no-run --tests --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api + run: cargo nextest run --config-file ".cargo/nextest.toml" --no-run --tests --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api - name: cargo test - run: cargo nextest run --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api --test-threads 2 + run: cargo nextest run --config-file ".cargo/nextest.toml" --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api --test-threads 2 diff --git a/xmtp_mls/src/configuration.rs b/xmtp_mls/src/configuration.rs index c39923f04..118231a57 100644 --- a/xmtp_mls/src/configuration.rs +++ b/xmtp_mls/src/configuration.rs @@ -28,7 +28,7 @@ pub const MAX_GROUP_SIZE: usize = 400; pub const MAX_PAST_EPOCHS: usize = 3; -pub const MAX_DB_POOL_SIZE: u32 = 10; +pub const MAX_DB_POOL_SIZE: u32 = 25; /// the max amount of data that can be sent in one gRPC call /// we leave 5 * 1024 * 1024 as extra buffer room