feat(blog::components::check+update) update

This commit is contained in:
lumither committed 2025-04-02 13:48:20 -07:00
1 parent 1038351f4a
commit 40abec2e90
17 files changed
+234 -86

No files matched your search

-2
View File
@@ -20,8 +20,6 @@ pub struct Scheduler {
impl Scheduler {
/// Start all tasks in the scheduler
pub async fn start(&self) {
dbg!("entering");
let fut = self
.task_pool
.clone()
+1 -1
View File
@@ -3,7 +3,7 @@ use std::{sync::Arc, time::Duration};
use crate::scheduler::{error::SchedulerError, tasks::CronTask};
use chrono::{DateTime, Utc};
use tokio::time::{sleep, Sleep};
use tokio::time::{Sleep, sleep};
pub fn duration_from_now(future: DateTime<Utc>) -> Duration {
future