feat(cron::update) auto update git repo and update db index

This commit is contained in:
lumither committed 2024-11-27 00:18:08 -08:00
1 parent 99a19d8d9e
commit bacaea80a3
18 files changed
+882 -39

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
mod cron;
mod database;
pub mod logger;
mod misc;
mod schema;
pub mod server;
@@ -24,6 +25,8 @@ pub fn load_env() {
}
pub async fn start() {
misc::init();
// connect database
let db_pool = match database::init().await {
Ok(pool) => {