chore: ignore warnings from hickory (#13385)

This commit is contained in:
Matthias Seitz
2024-12-13 14:38:34 +01:00
committed by GitHub
parent df697f2cc0
commit bed722b267

View File

@ -18,11 +18,11 @@ pub(crate) type BoxedLayer<S> = Box<dyn Layer<S> + Send + Sync>;
const RETH_LOG_FILE_NAME: &str = "reth.log"; const RETH_LOG_FILE_NAME: &str = "reth.log";
/// Default [directives](Directive) for [`EnvFilter`] which disables high-frequency debug logs from /// Default [directives](Directive) for [`EnvFilter`] which disables high-frequency debug logs from
/// `hyper`, `trust-dns`, `jsonrpsee-server`, and `discv5`. /// `hyper`, `hickory-resolver`, `jsonrpsee-server`, and `discv5`.
const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 5] = [ const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 5] = [
"hyper::proto::h1=off", "hyper::proto::h1=off",
"trust_dns_proto=off", "hickory_resolver=off",
"trust_dns_resolver=off", "hickory_proto=off",
"discv5=off", "discv5=off",
"jsonrpsee-server=off", "jsonrpsee-server=off",
]; ];