mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
Route lag-tolerant reads to an optional Postgres read replica (#2084)
Signed-off-by: Tyler Longwell <tlongwell@block.xyz> Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co> Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
# Database (Postgres 17)
|
||||
# -----------------------------------------------------------------------------
|
||||
DATABASE_URL=postgres://buzz:buzz_dev@localhost:5432/buzz
|
||||
# Optional read-replica URL; unset/blank keeps all reads on the writer.
|
||||
# READ_DATABASE_URL=postgres://buzz:buzz_dev@localhost:5433/buzz
|
||||
PGHOST=localhost
|
||||
PGPORT=5432
|
||||
PGUSER=buzz
|
||||
|
||||
Reference in New Issue
Block a user