computer: refactor

This commit is contained in:
nym21
2025-08-10 16:00:44 +02:00
parent a61926988a
commit ee5dc8fc41
10 changed files with 26 additions and 27 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ fn path_to_response_(headers: &HeaderMap, app_state: &AppState, path: &Path) ->
let guard_res = if !must_revalidate {
Some(app_state.cache.get_value_or_guard(
&path.to_str().unwrap().to_owned(),
Some(Duration::from_millis(500)),
Some(Duration::from_millis(50)),
))
} else {
None