Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 845ea0e

Browse files
committed
less clients in cross tap test to fit freebsd's default amount of semaphores per process
1 parent 8dd98e7 commit 845ea0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cluster.pm

+3-3
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

t/002_cross.pl

+1-1
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)