keep 600s (fix #85)

This commit is contained in:
Mylloon 2024-12-12 15:48:59 +01:00
parent 7e92654ba8
commit 47e386222f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -60,7 +60,7 @@ pub fn read_file(filename: FilePath, expected_file: MType) -> Option<File> {
reader(filename, expected_file)
}
#[cached]
#[cached(time = 600)]
fn reader(filename: FilePath, expected_file: MType) -> Option<File> {
let as_str = filename.to_string();
Path::new(&as_str)