Skip to content

Commit 86a378e

Browse files
committed
Merge branch 'PGPROEE9_6_MULTIMASTER' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPROEE9_6_MULTIMASTER
2 parents ef0cc64 + 3711092 commit 86a378e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/mmts/Cluster.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ sub configure
8888
port = $pgport
8989
max_prepared_transactions = 10
9090
max_connections = 10
91-
max_worker_processes = 10
91+
max_worker_processes = 40
9292
wal_level = logical
9393
max_wal_senders = 5
9494
wal_sender_timeout = 0
@@ -100,8 +100,8 @@ sub configure
100100
multimaster.workers = 1
101101
multimaster.node_id = $id
102102
multimaster.conn_strings = '$connstr'
103-
multimaster.heartbeat_recv_timeout = 2050
104-
multimaster.heartbeat_send_timeout = 500
103+
multimaster.heartbeat_recv_timeout = 1050
104+
multimaster.heartbeat_send_timeout = 250
105105
multimaster.max_nodes = $nnodes
106106
multimaster.ignore_tables_without_pk = true
107107
multimaster.min_2pc_timeout = 150000

contrib/mmts/t/002_cross.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Cwd;
99

1010
my $nnodes = 2;
11-
my $nclients = 10;
11+
my $nclients = 5;
1212
my $nkeys = $nnodes * $nclients;
1313
my $cluster = new Cluster($nnodes);
1414

0 commit comments

Comments
 (0)