mirror of
https://github.com/flibusta-apps/batch_downloader.git
synced 2025-12-06 06:15:37 +01:00
Fix
This commit is contained in:
@@ -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()
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user