Skip to content

Commit

Permalink
message size grpc client (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
javitonino authored May 15, 2024
1 parent c90160b commit 8d3c01a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nucliadb_node/src/replication/replicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ pub async fn connect_to_primary_and_replicate(
}
eprintln!("Connecting to primary: {:?}", primary_address);
let mut client =
replication::replication_service_client::ReplicationServiceClient::connect(primary_address.clone()).await?;
// .max_decoding_message_size(256 * 1024 * 1024)
replication::replication_service_client::ReplicationServiceClient::connect(primary_address.clone())
.await?
.max_decoding_message_size(256 * 1024 * 1024);
// .max_encoding_message_size(256 * 1024 * 1024);address);

let repl_health_mng = ReplicationHealthManager::new(settings.clone());
Expand Down

3 comments on commit 8d3c01a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8d3c01a Previous: 6c53c37 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 13317.609767635824 iter/sec (stddev: 3.330803523672866e-7) 13198.084460244272 iter/sec (stddev: 3.4157717375989134e-7) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8d3c01a Previous: 6c53c37 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 13395.61973387687 iter/sec (stddev: 2.997162140368231e-7) 13198.084460244272 iter/sec (stddev: 3.4157717375989134e-7) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8d3c01a Previous: 6c53c37 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 13310.170154474743 iter/sec (stddev: 4.866101228376346e-7) 13198.084460244272 iter/sec (stddev: 3.4157717375989134e-7) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.