From 8bd7d16c517ae4d78414709dd77b21994aa3bb11 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 9 Aug 2023 19:19:28 +0200 Subject: [PATCH] Fix --- src/views.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views.rs b/src/views.rs index 1b3b8ab..c4a210d 100644 --- a/src/views.rs +++ b/src/views.rs @@ -13,7 +13,7 @@ use crate::{config::CONFIG, structures::{Task, CreateTask, TaskStatus}, services pub static TASK_RESULTS: Lazy> = Lazy::new(|| { Cache::builder() - .time_to_idle(Duration::from_secs(24 * 60 * 60)) + .time_to_idle(Duration::from_secs(12 * 60 * 60)) .max_capacity(2048) .build() });