Skip to content

Commit aba3627

Browse files
authored
Reduce reconstruction queue capacity (#8053)
Co-Authored-By: Eitan Seri- Levi <[email protected]>
1 parent 4409500 commit aba3627

File tree

1 file changed

+3
-5
lines changed
  • beacon_node/beacon_processor/src

1 file changed

+3
-5
lines changed

beacon_node/beacon_processor/src/lib.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl BeaconProcessorQueueLengths {
181181
// We don't request more than `PARENT_DEPTH_TOLERANCE` (32) lookups, so we can limit
182182
// this queue size. With 48 max blobs per block, each column sidecar list could be up to 12MB.
183183
rpc_custody_column_queue: 64,
184-
column_reconstruction_queue: 64,
184+
column_reconstruction_queue: 1,
185185
chain_segment_queue: 64,
186186
backfill_chain_segment: 64,
187187
gossip_block_queue: 1024,
@@ -867,7 +867,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
867867
let mut rpc_blob_queue = FifoQueue::new(queue_lengths.rpc_blob_queue);
868868
let mut rpc_custody_column_queue = FifoQueue::new(queue_lengths.rpc_custody_column_queue);
869869
let mut column_reconstruction_queue =
870-
FifoQueue::new(queue_lengths.column_reconstruction_queue);
870+
LifoQueue::new(queue_lengths.column_reconstruction_queue);
871871
let mut chain_segment_queue = FifoQueue::new(queue_lengths.chain_segment_queue);
872872
let mut backfill_chain_segment = FifoQueue::new(queue_lengths.backfill_chain_segment);
873873
let mut gossip_block_queue = FifoQueue::new(queue_lengths.gossip_block_queue);
@@ -1354,9 +1354,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
13541354
Work::RpcCustodyColumn { .. } => {
13551355
rpc_custody_column_queue.push(work, work_id)
13561356
}
1357-
Work::ColumnReconstruction(_) => {
1358-
column_reconstruction_queue.push(work, work_id)
1359-
}
1357+
Work::ColumnReconstruction(_) => column_reconstruction_queue.push(work),
13601358
Work::ChainSegment { .. } => chain_segment_queue.push(work, work_id),
13611359
Work::ChainSegmentBackfill { .. } => {
13621360
backfill_chain_segment.push(work, work_id)

0 commit comments

Comments
 (0)