mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Bump syncing and health endpoints to P0
This commit is contained in:
@@ -2508,7 +2508,7 @@ pub fn serve<T: BeaconChainTypes>(
|
|||||||
};
|
};
|
||||||
|
|
||||||
task_spawner
|
task_spawner
|
||||||
.blocking_json_task(Priority::P1, move || {
|
.blocking_json_task(Priority::P0, move || {
|
||||||
let head_slot = chain.canonical_head.cached_head().head_slot();
|
let head_slot = chain.canonical_head.cached_head().head_slot();
|
||||||
let current_slot =
|
let current_slot =
|
||||||
chain.slot_clock.now_or_genesis().ok_or_else(|| {
|
chain.slot_clock.now_or_genesis().ok_or_else(|| {
|
||||||
@@ -2559,7 +2559,7 @@ pub fn serve<T: BeaconChainTypes>(
|
|||||||
};
|
};
|
||||||
|
|
||||||
task_spawner
|
task_spawner
|
||||||
.blocking_response_task(Priority::P1, move || {
|
.blocking_response_task(Priority::P0, move || {
|
||||||
let is_optimistic = chain
|
let is_optimistic = chain
|
||||||
.is_optimistic_or_invalid_head()
|
.is_optimistic_or_invalid_head()
|
||||||
.map_err(warp_utils::reject::beacon_chain_error)?;
|
.map_err(warp_utils::reject::beacon_chain_error)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user