From 225ee55fd518610dca0c74fac148e63c307d2117 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 22 Jul 2022 19:30:57 +0000 Subject: [PATCH] less logs --- web3-proxy/src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3-proxy/src/app.rs b/web3-proxy/src/app.rs index 980414db..b0b755d0 100644 --- a/web3-proxy/src/app.rs +++ b/web3-proxy/src/app.rs @@ -714,13 +714,13 @@ impl Web3ProxyApp { if let Some(response) = self.response_cache.read().get(&key) { // TODO: emit a stat - debug!(?request.method, "cache hit!"); + trace!(?request.method, "cache hit!"); // TODO: can we make references work? maybe put them in an Arc? return Ok((key, Ok(response.to_owned()))); } else { // TODO: emit a stat - debug!(?request.method, "cache miss!"); + trace!(?request.method, "cache miss!"); } // TODO: multiple caches. if head_block_hash is None, have a persistent cache (disk backed?)