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

Commit de24524

Browse files
committed
Be more humble about resources in tap tests
1 parent 0d83278 commit de24524

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

Cluster.pm

+9-12
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,25 @@ sub configure
8686
listen_addresses = '$host'
8787
unix_socket_directories = ''
8888
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
9292
wal_level = logical
93-
fsync = off
94-
max_wal_senders = 10
93+
max_wal_senders = 5
9594
wal_sender_timeout = 0
9695
default_transaction_isolation = 'repeatable read'
97-
max_replication_slots = 10
96+
max_replication_slots = 5
9897
shared_preload_libraries = 'multimaster'
9998
10099
multimaster.arbiter_port = $arbiter_port
101-
multimaster.workers = 10
102-
multimaster.queue_size = 10485760 # 10mb
100+
multimaster.workers = 1
103101
multimaster.node_id = $id
104102
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
107105
multimaster.max_nodes = $nnodes
108106
multimaster.ignore_tables_without_pk = true
109-
multimaster.twopc_min_timeout = 50000
110-
multimaster.min_2pc_timeout = 50000
107+
multimaster.min_2pc_timeout = 150000
111108
log_line_prefix = '%t: '
112109
));
113110

0 commit comments

Comments
 (0)