Skip to content

Commit d1cb963

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@7a9f98dce25a24242b16b11dc02055a86ce959ad
1 parent 619af17 commit d1cb963

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎common/src/constants/hosting-backend.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
* `project_domain` tables) — the checked-in switch for moving hosting off
44
* platform Convex (COD-742 batch 5, track E4; docs/freebuff-hosting-postgres.md).
55
*
6-
* - `convex` (default): Convex is the writer and the reader. Nothing in the
6+
* - `convex` Convex is the writer and the reader. Nothing in the
77
* Postgres port runs: no job is enqueued, the graphile cron for
88
* stale deploys no-ops, and the Convex cron keeps sweeping.
99
* - `shadow` Convex still writes and serves. Server paths that read a
1010
* deployment also read the Postgres copy (kept current by the
11-
* catch-up/repair script) and log `convex_pg_shadow_row_mismatch`
12-
* with ids and column NAMES only, never values.
11+
* `hosting.projection` chain) and log
12+
* `convex_pg_shadow_row_mismatch` with ids and column NAMES
13+
* only, never values. Current since 2026-10-19.
1314
* - `postgres` Postgres writes and serves; the deploy runs as the
1415
* `hosting.deploy_on_freestyle` job; the Convex stale-deploy cron
1516
* no-ops so exactly one sweeper ever runs.
@@ -20,7 +21,7 @@
2021
*/
2122
export type HostingBackendMode = 'convex' | 'shadow' | 'postgres'
2223

23-
export const HOSTING_BACKEND: HostingBackendMode = 'convex'
24+
export const HOSTING_BACKEND: HostingBackendMode = 'shadow'
2425

2526
/** Who serves hosting READS in `mode`. Shadow still serves Convex. */
2627
export function hostingReadBackend(

0 commit comments

Comments
 (0)