readable_entry

Function readable_entry 

Source
pub(super) async fn readable_entry(
    state: &AppState,
    key: &str,
) -> Option<Vec<u8>>
Expand description

Read a cache entry, treating an unreadable one as absent.

A corrupt entry must look like a miss to every caller on the replay path, or the route answers 500 forever for that file.