Skip to content

Commit c487c8f

Browse files
authored
Update 10-config.sh
1 parent 8ba77f6 commit c487c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10-config.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "max_connections = $MAX_CONNECTIONS" >> "$PGDATA/postgresql.conf"
77

88
# We set master replication-related parameters for both slave and master,
99
# so that the slave might work as a primary after failover.
10-
echo "wal_level = hot_standby" >> "$PGDATA/postgresql.conf"
10+
echo "wal_level = replica" >> "$PGDATA/postgresql.conf"
1111
echo "wal_keep_segments = $WAL_KEEP_SEGMENTS" >> "$PGDATA/postgresql.conf"
1212
echo "max_wal_senders = $MAX_WAL_SENDERS" >> "$PGDATA/postgresql.conf"
1313
# slave settings, ignored on master

0 commit comments

Comments
 (0)