This commit is contained in:
2023-08-06 22:22:57 +02:00
parent 06592bcb65
commit f31a4645c9
8 changed files with 330 additions and 236 deletions

View File

@@ -8,7 +8,7 @@ use tower_http::trace::{TraceLayer, self};
use tracing::Level;
use crate::{config::CONFIG, structures::{Task, CreateTask}, services::task_creator::{get_key, create_task}};
use crate::{config::CONFIG, structures::{Task, CreateTask}, services::{task_creator::create_task, utils::get_key}};
pub static TASK_RESULTS: Lazy<Cache<String, Task>> = Lazy::new(|| {