Skip to content

Commit fca97a7

Browse files
committed
reinit
1 parent 6d69f15 commit fca97a7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

reinit.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ reinit_master() {
1313
echo "min_wal_size = 32MB" >> ./install/data/postgresql.conf
1414
echo "wal_level = logical" >> ./install/data/postgresql.conf
1515
echo "wal_keep_segments = 64" >> ./install/data/postgresql.conf
16-
echo "max_wal_senders = 2" >> ./install/data/postgresql.conf
17-
echo "max_replication_slots = 2" >> ./install/data/postgresql.conf
16+
echo "max_wal_senders = 10" >> ./install/data/postgresql.conf
17+
echo "max_replication_slots = 10" >> ./install/data/postgresql.conf
18+
19+
echo "max_worker_processes = 10" >> ./install/data/postgresql.conf
20+
echo "shared_preload_libraries = 'pglogical'" >> ./install/data/postgresql.conf
21+
echo "track_commit_timestamp = on" >> ./install/data/postgresql.conf
1822

1923
echo '' > ./install/data/logfile
2024

@@ -49,7 +53,7 @@ make install > /dev/null
4953

5054

5155
pkill -9 postgres
52-
reinit_master >> /dev/null
56+
reinit_master
5357

5458

5559

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy