cache for 200ms
This commit is contained in:
parent
c507cc89d3
commit
b5d34b0fad
@ -56,7 +56,7 @@ pub async fn serve(
|
|||||||
|
|
||||||
let response_cache: ResponseCache = CacheBuilder::new(response_cache_size as u64)
|
let response_cache: ResponseCache = CacheBuilder::new(response_cache_size as u64)
|
||||||
.name("frontend_response")
|
.name("frontend_response")
|
||||||
.time_to_live(Duration::from_millis(100))
|
.time_to_live(Duration::from_millis(200))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// TODO: read config for if fastest/versus should be available publicly. default off
|
// TODO: read config for if fastest/versus should be available publicly. default off
|
||||||
|
Loading…
Reference in New Issue
Block a user