keep 600s (fix #85)
This commit is contained in:
parent
7e92654ba8
commit
47e386222f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue