chronon-backend-postgres
PostgreSQL SchedulerStore adapter for Chronon.
Audience
Backend engineers deploying shared durable storage for production coordinator–worker clusters.
Compose with Chronon
use Arc;
use *;
use PostgresSchedulerStore;
let store: = new;
let chronon = new
.scheduler_store
.embedded
.build?;
Runnable example: cargo run -p uf-chronon --example postgres_boot --features postgres.
Environment
| Variable | Purpose |
|---|---|
CHRONON_POSTGRES_URL |
Primary URL for tests and CI |
CHRONON_TEST_POSTGRES_URL |
Fallback test URL |
Use postgres_test_url() to resolve URL precedence in test helpers.
Facade feature
Enable via chronon crate feature postgres:
= { = "...", = false, = ["postgres"] }
Contract tests
Documentation
See also: chronon-backend-sql-common.