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

Commit32156d6

Browse files
committed
Update config file for multimaster
1 parent975c4f0 commit32156d6

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

‎contrib/bdr/receiver_raw.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static volatile sig_atomic_t got_sighup = false;
4848

4949
/* GUC variables */
5050
staticchar*receiver_database;
51-
staticintreceiver_idle_time=1;
51+
staticintreceiver_idle_time=0;
5252
staticboolreceiver_sync_mode= false;
5353

5454
/* Worker name */

‎contrib/multimaster/receiver_raw.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ static volatile sig_atomic_t got_sigterm = false;
4646
staticvolatilesig_atomic_tgot_sighup= false;
4747

4848
/* GUC variables */
49-
staticintreceiver_idle_time=0;/*1*/
50-
staticboolreceiver_sync_mode= false;/*true;*/
49+
staticintreceiver_idle_time=0;
50+
staticboolreceiver_sync_mode= false;
5151

5252
/* Worker name */
5353
staticchar*worker_name="multimaster";

‎contrib/multimaster/tests/postgresql.conf.mm‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
# - Asynchronous Behavior -
164164

165165
#effective_io_concurrency =1#1-1000;0 disables prefetching
166-
#max_worker_processes =8
166+
max_worker_processes =100
167167

168168

169169
#------------------------------------------------------------------------------
@@ -547,9 +547,9 @@
547547
# These settings are initialized by initdb, but they can be changed.
548548
lc_messages ='en_US.UTF-8'# localefor system error message
549549
# strings
550-
lc_monetary ='en_US.UTF-8'# localefor monetary formatting
551-
lc_numeric ='en_US.UTF-8'# localefor number formatting
552-
lc_time ='en_US.UTF-8'# localefor time formatting
550+
lc_monetary ='ru_RU.UTF-8'# localefor monetary formatting
551+
lc_numeric ='ru_RU.UTF-8'# localefor number formatting
552+
lc_time ='ru_RU.UTF-8'# localefor time formatting
553553

554554
#default configurationfor text search
555555
default_text_search_config ='pg_catalog.english'
@@ -624,3 +624,5 @@
624624

625625
# Add settingsfor extensions here
626626

627+
multimaster.queue_size =1073741824
628+
#multimaster.workers =16

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp