File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,12 @@ reinit_master() {
13
13
echo " min_wal_size = 32MB" >> ./install/data/postgresql.conf
14
14
echo " wal_level = logical" >> ./install/data/postgresql.conf
15
15
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
18
22
19
23
echo ' ' > ./install/data/logfile
20
24
@@ -49,7 +53,7 @@ make install > /dev/null
49
53
50
54
51
55
pkill -9 postgres
52
- reinit_master >> /dev/null
56
+ reinit_master
53
57
54
58
55
59
You can’t perform that action at this time.
0 commit comments