From 993fec4eed84f7c05b3c2d19ab2eef3f2214f67f Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 30 Apr 2023 10:10:06 -0500 Subject: [PATCH] improvement: document pg connection_write config --- config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.toml b/config.toml index 085790f..a3edb91 100644 --- a/config.toml +++ b/config.toml @@ -52,6 +52,10 @@ description = "A newly created nostr-rs-relay.\n\nCustomize this with your own i # sqlite. #connection = "postgresql://postgres:nostr@localhost:7500/nostr" +# Optional database connection string for writing. Use this for +# postgres clusters where you want to separate reads and writes to +# different nodes. Ignore for single-database instances. +#connection_write = "postgresql://postgres:nostr@localhost:7500/nostr" [grpc] # gRPC interfaces for externalized decisions and other extensions to