From 1d4924190d26711b755eb4761536c3c9bc1baae8 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Thu, 3 Oct 2024 04:31:40 +0530 Subject: [PATCH] refine rman dc --- beacon_chain/sync/request_manager.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/sync/request_manager.nim b/beacon_chain/sync/request_manager.nim index 194b86485..6c1de6d18 100644 --- a/beacon_chain/sync/request_manager.nim +++ b/beacon_chain/sync/request_manager.nim @@ -33,16 +33,16 @@ const PARALLEL_REQUESTS* = 2 ## Number of peers we using to resolve our request. - PARALLEL_REQUESTS_DATA_COLUMNS* = 2 + PARALLEL_REQUESTS_DATA_COLUMNS* = 32 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* = 4_000_000_000 + DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000 POLL_INTERVAL = 1.seconds - POLL_INTERVAL_DATA_COLUMNS = 4.seconds + POLL_INTERVAL_DATA_COLUMNS = 1.seconds type BlockVerifierFn* = proc( @@ -635,7 +635,7 @@ proc requestManagerDataColumnLoop( proc start*(rman: var RequestManager) = ## Start Request Manager's loops. rman.blockLoopFuture = rman.requestManagerBlockLoop() - # rman.dataColumnLoopFuture = rman.requestManagerDataColumnLoop() + rman.dataColumnLoopFuture = rman.requestManagerDataColumnLoop() # rman.blobLoopFuture = rman.requestManagerBlobLoop()