mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Downgrade light client error logs (#8196)
Temporary stop gap for #7002 Downgrade light client errors to debug We eventually should fix our light client objects so they can consist of data across forks. Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@ use beacon_processor::work_reprocessing_queue::ReprocessQueueMessage;
|
|||||||
use beacon_processor::{BeaconProcessorSend, Work, WorkEvent};
|
use beacon_processor::{BeaconProcessorSend, Work, WorkEvent};
|
||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use futures::channel::mpsc::Receiver;
|
use futures::channel::mpsc::Receiver;
|
||||||
use tracing::error;
|
use tracing::{debug, error};
|
||||||
|
|
||||||
// Each `LightClientProducerEvent` is ~200 bytes. With the light_client server producing only recent
|
// Each `LightClientProducerEvent` is ~200 bytes. With the light_client server producing only recent
|
||||||
// updates it is okay to drop some events in case of overloading. In normal network conditions
|
// updates it is okay to drop some events in case of overloading. In normal network conditions
|
||||||
@@ -27,7 +27,7 @@ pub async fn compute_light_client_updates<T: BeaconChainTypes>(
|
|||||||
chain
|
chain
|
||||||
.recompute_and_cache_light_client_updates(event)
|
.recompute_and_cache_light_client_updates(event)
|
||||||
.unwrap_or_else(|e| {
|
.unwrap_or_else(|e| {
|
||||||
error!("error computing light_client updates {:?}", e);
|
debug!("error computing light_client updates {:?}", e);
|
||||||
});
|
});
|
||||||
|
|
||||||
let msg = ReprocessQueueMessage::NewLightClientOptimisticUpdate { parent_root };
|
let msg = ReprocessQueueMessage::NewLightClientOptimisticUpdate { parent_root };
|
||||||
|
|||||||
Reference in New Issue
Block a user