Skip to content

Commit 32156d6

Browse files
committed
Update config file for multimaster
1 parent 975c4f0 commit 32156d6

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
static char *receiver_database;
51-
static int receiver_idle_time = 1;
51+
static int receiver_idle_time = 0;
5252
static bool receiver_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
static volatile sig_atomic_t got_sighup = false;
4747

4848
/* GUC variables */
49-
static int receiver_idle_time = 0;/*1*/
50-
static bool receiver_sync_mode = false;/*true;*/
49+
static int receiver_idle_time = 0;
50+
static bool receiver_sync_mode = false;
5151

5252
/* Worker name */
5353
static char *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' # locale for system error message
549549
# strings
550-
lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
551-
lc_numeric = 'en_US.UTF-8' # locale for number formatting
552-
lc_time = 'en_US.UTF-8' # locale for time formatting
550+
lc_monetary = 'ru_RU.UTF-8' # locale for monetary formatting
551+
lc_numeric = 'ru_RU.UTF-8' # locale for number formatting
552+
lc_time = 'ru_RU.UTF-8' # locale for time formatting
553553

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

625625
# Add settings for extensions here
626626

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy