mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-10 07:48:19 -05:00
chore: downgrade error message (#8561)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::EventStream;
|
||||
use tokio::sync::broadcast::{self, Sender};
|
||||
use tracing::error;
|
||||
use tracing::trace;
|
||||
|
||||
const DEFAULT_SIZE_BROADCAST_CHANNEL: usize = 2000;
|
||||
|
||||
@@ -30,7 +30,7 @@ impl<T: Clone + Send + Sync + 'static> EventSender<T> {
|
||||
/// Broadcasts an event to all listeners.
|
||||
pub fn notify(&self, event: T) {
|
||||
if self.sender.send(event).is_err() {
|
||||
error!("channel closed");
|
||||
trace!("no receivers for broadcast events");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user