-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.toml
37 lines (32 loc) · 992 Bytes
/
config.toml
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
[app]
# 事务 batch 数
# 用于数据写入 batch 提交事务数
insert-batch-size = 100
# 是否开启更新元数据 meta-schema 库表慢日志,单位毫秒
slowlog-threshold = 1024
# pprof 端口
pprof-port = ":9696"
[oracle]
username = "H2"
password = "hydeesoft"
host = "192.168.9.38"
port = 1521
schema-name = "H2"
service-name = "hydee"
# 增量定时 time.Tick(time.Duration(100) * time.Millisecond)
incr-time = 30
# include-table 和 exclude-table 不能同时配置,两者只能配置一个,如果两个都没配置则 Schema 内表全迁移
# include-table 和 exclude-table 支持正则表达式以及通配符(tab_*/tab*)
include-table = ["T_SALE_H","T_DIST_D_XLX","T_STORE_I_XLX"]
exclude-table = []
[log]
# 日志 level
log-level = "info"
# 日志文件路径
log-file = "./gominerlog.log"
# 每个日志文件保存的最大尺寸 单位:M
max-size = 1
# 文件最多保存多少天
max-days = 7
# 日志文件最多保存多少个备份
max-backups = 30