-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.ini
More file actions
38 lines (33 loc) · 880 Bytes
/
config.example.ini
File metadata and controls
38 lines (33 loc) · 880 Bytes
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
[mariadb]
listen = :3307
default = main
# Write batching configuration (optional)
writebatch_initial_delay_ms = 10
writebatch_max_delay_ms = 100
writebatch_min_delay_ms = 1
writebatch_max_batch_size = 1000
writebatch_write_threshold = 1000.0
writebatch_adaptive_step = 1.5
writebatch_metrics_interval = 60
[mariadb.main]
primary = 127.0.0.1:3306
replicas = 127.0.0.1:3307, 127.0.0.1:3308
[mariadb.shard1]
primary = 10.0.0.1:3306
databases = users, profiles
[postgres]
listen = :5433
default = main
# Write batching configuration (optional)
writebatch_initial_delay_ms = 10
writebatch_max_delay_ms = 100
writebatch_min_delay_ms = 1
writebatch_max_batch_size = 1000
writebatch_write_threshold = 1000.0
writebatch_adaptive_step = 1.5
writebatch_metrics_interval = 60
[postgres.main]
primary = 127.0.0.1:5432
[postgres.shard1]
primary = 10.0.0.2:5432
databases = analytics, logs