-
Notifications
You must be signed in to change notification settings - Fork 118
/
config.toml.sample
58 lines (53 loc) · 1.1 KB
/
config.toml.sample
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
[app]
log_level = "DEBUG"
default_job_ttl = "60s"
[job_queue.broker]
type = "redis"
addresses = ["localhost:6379"]
password = ""
db = 1
max_active = 50
max_idle = 20
dial_timeout = "1s"
read_timeout = "1s"
write_timeout = "1s"
[job_queue.state]
type = "redis"
addresses = ["localhost:6379"]
password = ""
db = 1
max_active = 50
max_idle = 20
dial_timeout = "1s"
read_timeout = "1s"
write_timeout = "1s"
expiry = "3000s"
meta_expiry = "3600s"
[results.my_results]
type = "postgres"
dsn = "postgres://testUser:[email protected]:5432/testDB?sslmode=disable"
max_idle = 10
max_active = 100
connect_timeout = "10s"
results_table = "results_%s"
[db.my_db]
type = "postgres"
dsn = "postgres://testUser:[email protected]:5432/testDB?sslmode=disable"
max_idle = 10
max_active = 100
connect_timeout = "10s"
[db.ch_db]
type = "clickhouse"
dsn = "clickhouse://default:@127.0.0.1:9000/default?sslmode=disable"
max_idle = 10
max_active = 100
connect_timeout = "10s"
# host = "localhost"
# port = 9000
# db = "default"
# user = "default"
# password = ""
# autocommit = false
# max_active = 100
# max_idle = 100
# connect_timeout = 60