From 79c97c30baa12bad277ffe39969235450564f929 Mon Sep 17 00:00:00 2001 From: Mark Renten <42224876+rentenmark@users.noreply.github.com> Date: Fri, 12 Apr 2019 07:47:40 -0400 Subject: [PATCH] decrease chunk size in outputs by ids (#2747) --- wallet/src/node_clients/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/node_clients/http.rs b/wallet/src/node_clients/http.rs index e07a9c6ee..61a6cd0b8 100644 --- a/wallet/src/node_clients/http.rs +++ b/wallet/src/node_clients/http.rs @@ -110,7 +110,7 @@ impl NodeClient for HTTPNodeClient { let mut api_outputs: HashMap = HashMap::new(); let mut tasks = Vec::new(); - for query_chunk in query_params.chunks(500) { + for query_chunk in query_params.chunks(200) { let url = format!("{}/v1/chain/outputs/byids?{}", addr, query_chunk.join("&"),); tasks.push(api::client::get_async::>( url.as_str(),