Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3711092

Browse files
committed
less clients in cross tap test to fit freebsd's default amount of semaphores per process
1 parent144c54f commit3711092

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)

[8]ページ先頭

©2009-2025 Movatter.jp