Skip to content

Commit

Permalink
feat(asset-services-worker): use celery_worker_preflight_checks
Browse files Browse the repository at this point in the history
  • Loading branch information
PiDelport committed Sep 24, 2021
1 parent 11b3a62 commit e561679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asset-services/asset-services-worker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use asset_services_celery::run_helpers;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
run_helpers::init_logging_from_env();
run_helpers::celery_worker_preflight_checks().await?;

let celery = run_helpers::init_celery_from_env().await?;
celery.display_pretty().await;

Expand Down

0 comments on commit e561679

Please sign in to comment.