From 5976aee4c5204999e0d8b4cf831bd775bf6396fa Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Fri, 3 Jan 2025 18:23:15 -0600 Subject: [PATCH] m --- crates/sui-indexer/src/lib.rs | 1 - crates/sui-json-rpc/src/move_utils.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/sui-indexer/src/lib.rs b/crates/sui-indexer/src/lib.rs index 6a4df6c9da52f..6f058cd3d122e 100644 --- a/crates/sui-indexer/src/lib.rs +++ b/crates/sui-indexer/src/lib.rs @@ -82,7 +82,6 @@ fn get_http_client(rpc_client_url: &str) -> Result { HttpClientBuilder::default() .max_request_size(2 << 30) - .max_concurrent_requests(usize::MAX) .set_headers(headers.clone()) .build(rpc_client_url) .map_err(|e| { diff --git a/crates/sui-json-rpc/src/move_utils.rs b/crates/sui-json-rpc/src/move_utils.rs index f970be45c4504..4834ffa74ad3c 100644 --- a/crates/sui-json-rpc/src/move_utils.rs +++ b/crates/sui-json-rpc/src/move_utils.rs @@ -285,7 +285,6 @@ mod tests { mod get_normalized_move_module_tests { use super::super::*; - use jsonrpsee::types::ErrorObjectOwned; use move_binary_format::file_format::basic_test_module; fn setup() -> (ObjectID, String) {