solstice-ci/crates/common/src/lib.rs
Till Wegmueller 6ff88529e6
Add configurable placeholder VM runtime and graceful shutdown logic
This commit introduces the ability to configure placeholder VM run time via an environment variable (`VM_PLACEHOLDER_RUN_SECS`) and updates the `Scheduler` to accept this duration. Additionally, it implements a graceful shutdown mechanism for the orchestrator, allowing cooperative shutdown of consumers and cleanup of resources.
2025-10-26 19:06:32 +01:00

9 lines
308 B
Rust

pub mod telemetry;
pub mod job;
pub mod messages;
pub mod mq;
pub use telemetry::{init_tracing, TelemetryGuard};
pub use job::{Workflow, Job, Step, parse_workflow_str, parse_workflow_file};
pub use messages::{JobRequest, SourceSystem};
pub use mq::{MqConfig, publish_job, consume_jobs, consume_jobs_until};