From 47e386222f81563511377cbab2bdd0d1afc2383b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 12 Dec 2024 15:48:59 +0100 Subject: [PATCH] keep 600s (fix #85) --- src/utils/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)