From 8d3c01a90344cc277d7b8a7d10ed3ce219513a17 Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Wed, 15 May 2024 10:18:21 +0200 Subject: [PATCH] message size grpc client (#2147) --- nucliadb_node/src/replication/replicator.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nucliadb_node/src/replication/replicator.rs b/nucliadb_node/src/replication/replicator.rs index 4c4b713a00..5bf5a5da93 100644 --- a/nucliadb_node/src/replication/replicator.rs +++ b/nucliadb_node/src/replication/replicator.rs @@ -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());