diff --git a/src/utils/misc.rs b/src/utils/misc.rs index 1d14e3c..34dfe8f 100644 --- a/src/utils/misc.rs +++ b/src/utils/misc.rs @@ -60,7 +60,7 @@ pub fn read_file(filename: FilePath, expected_file: MType) -> Option { reader(filename, expected_file) } -#[cached] +#[cached(time = 600)] fn reader(filename: FilePath, expected_file: MType) -> Option { let as_str = filename.to_string(); Path::new(&as_str)