Skip to main content

rustvello_postgres/orchestrator/
mod.rs

1mod blocking;
2mod concurrency;
3mod query;
4mod recovery;
5mod status;
6
7use std::sync::Arc;
8
9use crate::db::Database;
10
11/// PostgreSQL-backed orchestrator implementation.
12pub struct PostgresOrchestrator {
13    pub(crate) db: Arc<Database>,
14}
15
16impl PostgresOrchestrator {
17    pub fn new(db: Arc<Database>) -> Self {
18        Self { db }
19    }
20}