add cleaner config

This commit is contained in:
UlricQin 2020-11-06 17:25:14 +08:00
parent 2e8a8966d7
commit e64a892275
1 changed files with 10 additions and 0 deletions

View File

@ -1,12 +1,22 @@
---
tokens:
- monapi-internal-third-module-pass-fjsdi
logger:
dir: logs/monapi
level: INFO
keepHours: 24
region:
- default
# clean history event
cleaner:
# retention days
days: 100
# number of events deleted per time
batch: 100
# read alert from redis
redis:
addr: 127.0.0.1:6379