Skip to content

Commit

Permalink
move back to 25 db connections
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Dec 13, 2024
1 parent ebc2ef5 commit 49ef097
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .cargo/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[profile.default]
retries = 3
default-filter = "not test(test_stream_all_messages_does_not_lose_messages)"
4 changes: 2 additions & 2 deletions .github/workflows/test-http-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion xmtp_mls/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49ef097

Please sign in to comment.