Files
Astronome/backend/src/jobs/catalog_refresh.rs
T
2026-04-10 00:02:00 +02:00

10 lines
231 B
Rust

use sqlx::SqlitePool;
use crate::catalog::refresh_catalog;
pub async fn run_catalog_refresh(pool: SqlitePool) {
if let Err(e) = refresh_catalog(&pool).await {
tracing::error!("Catalog refresh failed: {}", e);
}
}