Skip to content

Commit 0bf4ff7

Browse files
authored
Update sample config with comments
1 parent 28447ff commit 0bf4ff7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

postgres-mc.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ etcd:
3737
# - 127.0.0.1:2223
3838
# - 127.0.0.1:2224
3939

40+
# Enables multisite mode
4041
multisite:
41-
namespace: /multisite/
42+
name: site1 # Name for the site
43+
namespace: /multisite/ # Optional, helpful when testing with a single etcd
44+
# Same settings as normal DCS
4245
etcd:
4346
host: 127.0.0.1:2379
47+
# How other site standby leaders can connect to the primary on this site.
48+
# Right now direct member to member connections are not supported.
4449
host: 192.168.2.124
4550
port: 5432
51+
# Multisite failover timeouts
4652
ttl: 90
4753
retry_timeout: 40
4854

0 commit comments

Comments
 (0)