refactor: ( waafi ) use USD for demo

This commit is contained in:
Abubeker Yasin
2026-06-17 20:12:44 +03:00
parent 6ecc19c69c
commit be64352bf1
3 changed files with 9 additions and 6 deletions

View File

@@ -10,10 +10,10 @@ export default registerAs("app", () => ({
serviceAuthToken: process.env.SERVICE_AUTH_TOKEN ?? "",
reconciliation: {
/** How often the stale-intent sweep runs. */
sweepIntervalMs: parseInt(
process.env.RECONCILE_SWEEP_INTERVAL_MS ?? "60000",
10,
),
// TODO(demo): revert to the env-driven line below after the demo. Temporarily FORCED to 30s
// here so the .env (RECONCILE_SWEEP_INTERVAL_MS) cannot override it.
// sweepIntervalMs: parseInt(process.env.RECONCILE_SWEEP_INTERVAL_MS ?? "60000", 10),
sweepIntervalMs: 30_000,
/** An intent is "stale" when non-terminal and untouched for this long. */
staleAfterMs: parseInt(process.env.RECONCILE_STALE_AFTER_MS ?? "60000", 10),
batchSize: parseInt(process.env.RECONCILE_BATCH_SIZE ?? "20", 10),