@@ -86,28 +86,25 @@ sub configure
86
86
listen_addresses = '$host '
87
87
unix_socket_directories = ''
88
88
port =$pgport
89
- max_prepared_transactions =200
90
- max_connections =200
91
- max_worker_processes =100
89
+ max_prepared_transactions =10
90
+ max_connections =10
91
+ max_worker_processes =10
92
92
wal_level = logical
93
- fsync = off
94
- max_wal_senders = 10
93
+ max_wal_senders = 5
95
94
wal_sender_timeout = 0
96
95
default_transaction_isolation = 'repeatable read'
97
- max_replication_slots =10
96
+ max_replication_slots =5
98
97
shared_preload_libraries = 'multimaster'
99
98
100
99
multimaster.arbiter_port =$arbiter_port
101
- multimaster.workers = 10
102
- multimaster.queue_size = 10485760 # 10mb
100
+ multimaster.workers = 1
103
101
multimaster.node_id =$id
104
102
multimaster.conn_strings = '$connstr '
105
- multimaster.heartbeat_recv_timeout =1000
106
- multimaster.heartbeat_send_timeout =250
103
+ multimaster.heartbeat_recv_timeout =2050
104
+ multimaster.heartbeat_send_timeout =500
107
105
multimaster.max_nodes =$nnodes
108
106
multimaster.ignore_tables_without_pk = true
109
- multimaster.twopc_min_timeout = 50000
110
- multimaster.min_2pc_timeout = 50000
107
+ multimaster.min_2pc_timeout = 150000
111
108
log_line_prefix = '%t : '
112
109
) );
113
110