This commit is contained in:
2023-08-09 19:19:28 +02:00
parent 7d46bb6de2
commit 8bd7d16c51

View File

@@ -13,7 +13,7 @@ use crate::{config::CONFIG, structures::{Task, CreateTask, TaskStatus}, services
pub static TASK_RESULTS: Lazy<Cache<String, Task>> = Lazy::new(|| { pub static TASK_RESULTS: Lazy<Cache<String, Task>> = Lazy::new(|| {
Cache::builder() Cache::builder()
.time_to_idle(Duration::from_secs(24 * 60 * 60)) .time_to_idle(Duration::from_secs(12 * 60 * 60))
.max_capacity(2048) .max_capacity(2048)
.build() .build()
}); });