From 635eebbed139c00146950cf5b505edf903dc8a02 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Mon, 19 Aug 2024 13:17:33 +0530 Subject: [PATCH] fix response time --- beacon_chain/nimbus_beacon_node.nim | 2 ++ beacon_chain/sync/request_manager.nim | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 7edfb3ae8..94527d9b9 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1520,6 +1520,8 @@ proc tryReconstructingDataColumns* (self: BeaconNode, let recovered_cps = recover_cells_and_proofs(data_column_sidecars, storedColumns.len, signed_block) if not recovered_cps.isOk: return err("Error recovering cells and proofs from data columns") + else: + debug "Computed Cells and Proofs successfully!" # Reconstruct data column sidecars from recovered blobs let reconstructedDataColumns = get_data_column_sidecars(signed_block, recovered_cps.get) diff --git a/beacon_chain/sync/request_manager.nim b/beacon_chain/sync/request_manager.nim index a7a68c495..ab7f35148 100644 --- a/beacon_chain/sync/request_manager.nim +++ b/beacon_chain/sync/request_manager.nim @@ -32,12 +32,12 @@ const PARALLEL_REQUESTS* = 2 ## Number of peers we using to resolve our request. - PARALLEL_REQUESTS_DATA_COLUMNS* = 8 + PARALLEL_REQUESTS_DATA_COLUMNS* = 16 BLOB_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000 ## How long to wait for blobs to arrive over gossip before fetching. - DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 8 * 1_000_000_000 + DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 250_000_000 POLL_INTERVAL = 1.seconds