fix response time
This commit is contained in:
parent
287bf72fbb
commit
635eebbed1
|
@ -1520,6 +1520,8 @@ proc tryReconstructingDataColumns* (self: BeaconNode,
|
||||||
let recovered_cps = recover_cells_and_proofs(data_column_sidecars, storedColumns.len, signed_block)
|
let recovered_cps = recover_cells_and_proofs(data_column_sidecars, storedColumns.len, signed_block)
|
||||||
if not recovered_cps.isOk:
|
if not recovered_cps.isOk:
|
||||||
return err("Error recovering cells and proofs from data columns")
|
return err("Error recovering cells and proofs from data columns")
|
||||||
|
else:
|
||||||
|
debug "Computed Cells and Proofs successfully!"
|
||||||
|
|
||||||
# Reconstruct data column sidecars from recovered blobs
|
# Reconstruct data column sidecars from recovered blobs
|
||||||
let reconstructedDataColumns = get_data_column_sidecars(signed_block, recovered_cps.get)
|
let reconstructedDataColumns = get_data_column_sidecars(signed_block, recovered_cps.get)
|
||||||
|
|
|
@ -32,12 +32,12 @@ const
|
||||||
PARALLEL_REQUESTS* = 2
|
PARALLEL_REQUESTS* = 2
|
||||||
## Number of peers we using to resolve our request.
|
## 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
|
BLOB_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000
|
||||||
## How long to wait for blobs to arrive over gossip before fetching.
|
## 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
|
POLL_INTERVAL = 1.seconds
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue