Skip to content

Commit

Permalink
fix:rbum
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Mar 21, 2024
1 parent f29272b commit 0967d5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spi/spi-stats/src/stats_initializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ use tardis::{

use crate::{
api::ci::{stats_ci_conf_api, stats_ci_metric_api, stats_ci_record_api},
stats_config::StatsConfig,
stats_constants::DOMAIN_CODE,
};

pub async fn init(web_server: &TardisWebServer) -> TardisResult<()> {
info!("[BIOS.Stats] Module initializing");
let mut funs = crate::get_tardis_inst();
bios_basic::rbum::rbum_initializer::init(funs.module_code(), funs.conf::<StatsConfig>().rbum.clone()).await?;
funs.begin().await?;
let ctx = spi_initializer::init(DOMAIN_CODE, &funs).await?;
init_db(&funs, &ctx).await?;
Expand Down

0 comments on commit 0967d5e

Please sign in to comment.