lower log level
This commit is contained in:
parent
f2cfe2956a
commit
cb2b5c16ad
@ -883,12 +883,16 @@ impl Web3Rpc {
|
|||||||
broadcast::error::RecvError::Lagged(lagged) => {
|
broadcast::error::RecvError::Lagged(lagged) => {
|
||||||
// querying the block was delayed
|
// querying the block was delayed
|
||||||
// this can happen if tokio is very busy or waiting for requests limits took too long
|
// this can happen if tokio is very busy or waiting for requests limits took too long
|
||||||
|
if self.backup {
|
||||||
|
debug!("http interval on {} lagging by {}!", self, lagged);
|
||||||
|
} else {
|
||||||
warn!("http interval on {} lagging by {}!", self, lagged);
|
warn!("http interval on {} lagging by {}!", self, lagged);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Some(Web3Provider::Both(_, client)) | Some(Web3Provider::Ws(client)) => {
|
Some(Web3Provider::Both(_, client)) | Some(Web3Provider::Ws(client)) => {
|
||||||
// todo: move subscribe_blocks onto the request handle?
|
// todo: move subscribe_blocks onto the request handle?
|
||||||
let active_request_handle = self
|
let active_request_handle = self
|
||||||
|
Loading…
Reference in New Issue
Block a user