From b5d34b0fad7c03cbdfd98e4d6ff9c3a0b8805f8e Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 17 Oct 2023 10:35:41 -0700 Subject: [PATCH] cache for 200ms --- web3_proxy/src/frontend/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index 0d355f87..470259a7 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -56,7 +56,7 @@ pub async fn serve( let response_cache: ResponseCache = CacheBuilder::new(response_cache_size as u64) .name("frontend_response") - .time_to_live(Duration::from_millis(100)) + .time_to_live(Duration::from_millis(200)) .build(); // TODO: read config for if fastest/versus should be available publicly. default off