-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathReceiveSQLConfig
More file actions
48 lines (46 loc) · 1.25 KB
/
ReceiveSQLConfig
File metadata and controls
48 lines (46 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# application will loop until this file is found
stopfile stop
#hostname localhost
#hostaddr 127.0.0.1
port 5432
user tooldaq
passwd tooldaq19
#context_io_threads 1
clt_sub_port 55556
#clt_dlr_port 55557
clt_rtr_port 55555
mm_rcv_port 55597
mm_snd_port 55596
log_pub_port 55554
log_sub_port 55553
# all timeouts in ms
clt_sub_socket_timeout 500
clt_rtr_socket_timeout 500
clr_dlr_socket_timeout 500
mm_rcv_socket_timeout 500
mm_snd_socket_timeout 500
log_pub_socket_timeout 500
log_sub_socket_timeout 500
inpoll_timeout 50
outpoll_timeout 50
broadcast_period_ms 1000
promote_timeout_ms 10000
mm_warn_timeout -1 #7000
# startup setting only, will be promoted if it can't find the master
am_master 1
# unless this is set
dont_promote 0
# how many times to try to send a response to clients
max_send_attempts 3
# how many postgres queries in the queue before we warn about being full
warn_limit 700
# how many postgres queries before we start dropping them
drop_limit 1000
# how long to cache received messages so we don't get duplicates
cache_period_ms 10000
# if writes are sent to the read-only port, but we're master, should we accept them?
handle_unexpected_writes 0
stats_period_ms 60000
stdio_verbosity 4
db_verbosity 1
service_discovery_config ServiceDiscoveryConfig