This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
forked from nkallen/Rowz
-
Notifications
You must be signed in to change notification settings - Fork 24
/
test.conf
157 lines (136 loc) · 2.57 KB
/
test.conf
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
admin_port = 9991
admin_http_port = 9990
host {
id = 1
}
db_default {
username = "$(DB_USERNAME)"
password = "$(DB_PASSWORD)"
}
w3c_header_period = 60000
errors {
deadlock_retries = 3
}
log {
filename = "test.log"
level = "info"
roll = "hourly"
truncate_stack_traces = 100
w3c {
node = "w3c"
use_parents = false
filename = "w3c.log"
level = "info"
roll = "hourly"
}
bad_jobs {
node = "bad_jobs"
use_parents = false
filename = "bad_jobs.log"
level = "info"
roll = "never"
}
}
throttled_log {
period_msec = 60000
rate = 10
}
rowz {
timeout_msec = 100
idle_timeout_sec = 60
server_port = 7919
shard_server_port = 7920
job_server_port = 7921
min_threads = 200
w3c = [
"action-timing",
"db-timing",
"connection-pool-release-timing",
"connection-pool-reserve-timing",
"kestrel-put-timing",
"db-select-count",
"db-execute-count",
"job-success-count",
"operation",
"arguments"
]
aggregate_jobs_page_size = 500
db (inherit="db_default") {
name = "rowz_data"
connection_pool {
max_wait = 20
min_evictable_idle_msec = -1
size_max = 10
size_min = 5
test_idle_msec = 1000
test_on_borrow = false
timeout {
initialize = 1000
open = 100
pool_size = 10
queue_size = 10000
}
}
disable {
error_count = 3
seconds = 60
}
query_timeout_default = 2000
queries {
}
}
nameserver (inherit="db_default") {
hostnames = ["localhost"]
name = "rowz_nameserver"
connection_pool {
max_wait = 20
min_evictable_idle_msec = -1
size_max = 1
size_min = 1
test_idle_msec = 1000
test_on_borrow = false
timeout {
initialize = 1000
open = 100
pool_size = 10
queue_size = 10000
}
}
query_timeout_default = 15000
queries { }
}
replication {
future {
pool_size = 100
max_pool_size = 100
keep_alive_time_seconds = 5
timeout_seconds = 6
}
}
queue {
path = "/tmp"
journal off
high {
job_queue = "high"
error_queue = "high_errors"
threads = 1
error_limit = 25
replay_interval = 900
}
medium {
job_queue = "medium"
error_queue = "medium_errors"
threads = 1
error_limit = 25
replay_interval = 900
}
low {
job_queue = "low"
error_queue = "low_errors"
threads = 1
error_limit = 25
replay_interval = 900
}
max_memory_size = 36000000
}
}