Files
cas_tt_cloud_backend/.default_setting.yaml

33 lines
523 B
YAML
Raw Permalink Normal View History

2021-12-20 11:17:30 +08:00
server:
port: 8000
read_timeout: 5
write_timeout: 5
idle_timeout: 5
2021-12-28 10:57:13 +08:00
# ES 服务器
es_server:
host: http://192.168.0.188:9200
2021-12-20 11:17:30 +08:00
# RATE 限流器
rate:
# 每秒注入容器中数量
limit: 50
# 每个IP每秒请求最大次数
capacity: 100
cache:
# memory | redis
2021-12-28 10:57:13 +08:00
type: memory
2021-12-20 11:17:30 +08:00
redis:
2021-12-28 10:57:13 +08:00
addr: "127.0.0.1:6379"
password:
2021-12-20 11:17:30 +08:00
db: 0
max_active: 0
max_idle: 1000
idle_timeout: 240
#LOG 日志管理
log:
file: log/logs.log
least_day: 7
level: debug # debug | info | warn | error