奇淼(piexlmax
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
server/config.yaml
|
|
@ -125,6 +125,6 @@ Timer: |
|
|
|
# compareField: 需要比较时间的字段 |
|
|
|
# interval: 时间间隔, 具体配置详看 time.ParseDuration() 中字符串表示 且不能为负数 |
|
|
|
# 2160h = 24 * 30 * 3 -> 三个月 |
|
|
|
{ tableName: "log" , compareField: "created_at", interval: "2160h" }, |
|
|
|
{ tableName: "log2" , compareField: "created_at", interval: "2160h" } |
|
|
|
{ tableName: "sys_operation_records" , compareField: "created_at", interval: "2160h" }, |
|
|
|
#{ tableName: "log2" , compareField: "created_at", interval: "2160h" } |
|
|
|
] |