feat(blog::components::check_update) push frontmatter to database (metadata)

This commit is contained in:
lumither committed 2025-04-18 01:18:25 -07:00
1 parent e83cea1d42
commit 2c11af4a25
4 files changed
+32 -8

No files matched your search

+2 -7
View File
@@ -5,12 +5,8 @@ use crate::{
modules::{
Module,
blog::{
api::{
get_page_count,
get_post,
// get_post_list::get_post_list,
},
components::{check_update, consistency_guard}, // cron::check_update,
api::{get_page_count, get_post},
components::{check_update, consistency_guard},
},
},
scheduler::tasks::{CronTask, async_basic::AsyncBasic},
@@ -54,7 +50,6 @@ impl Module for Blog {
"Consistency Guard",
AsyncBasic::new(
consistency_guard::task(db_handler.clone()),
// "*/15 * * * * *",
"*/15 * * * * *",
)
.unwrap()