cache for 200ms

This commit is contained in:
Bryan Stitt 2023-10-17 10:35:41 -07:00
parent c507cc89d3
commit b5d34b0fad

View File

@ -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