Fix priority for POST beacon/blocks

This commit is contained in:
Paul Hauner
2023-07-11 17:30:41 +10:00
parent 219a61c547
commit 7be4dbdb0f

View File

@@ -1274,7 +1274,7 @@ pub fn serve<T: BeaconChainTypes>(
chain: Arc<BeaconChain<T>>,
network_tx: UnboundedSender<NetworkMessage<T::EthSpec>>,
log: Logger| {
task_spawner.spawn_async_with_rejection(Priority::P1, async move {
task_spawner.spawn_async_with_rejection(Priority::P0, async move {
publish_blocks::publish_block(
None,
ProvenancedBlock::local(block),