wheat-cache/conf/wheat-cache.yaml

53 lines
1.3 KiB
YAML
Raw Normal View History

2021-09-05 17:07:34 +08:00
version: 'v1.0'
env: 'dev'
storage:
host: '127.0.0.1'
port: 5890
2021-09-28 22:42:11 +08:00
timeOut: 2 # second
2021-09-27 11:29:47 +08:00
# clearSize and maxSize must be Int
lruCache:
2021-10-10 20:53:34 +08:00
clearSize: "512mb"
2021-09-27 11:29:47 +08:00
maxSize: "1GB"
eventDriverSize: 2000
workTime: 1
2021-10-12 15:09:12 +08:00
detachNum: 300
2021-10-06 19:02:37 +08:00
2021-10-09 21:49:16 +08:00
2021-10-06 19:02:37 +08:00
logPrint:
2021-10-24 20:03:14 +08:00
stath: ["error"]
2021-10-12 15:09:12 +08:00
2021-10-09 21:49:16 +08:00
middleware-driver:
driverCount: 1000
middleConsumerCount: 5
2021-10-19 16:02:05 +08:00
# Register the message push type
# 在这里注册消息推送类型,
2021-10-09 21:49:16 +08:00
plugins-control:
2021-10-16 18:29:31 +08:00
2021-10-19 16:02:05 +08:00
# log-context: Logs generated by storage or gateway are pushed through this message
# log-context: storage 或者 gateway 产生的日志通过这个消息推送
2021-10-19 16:34:32 +08:00
log-context: [ "mock-plugins" ]
2021-10-19 16:02:05 +08:00
# lru-clean-context: Lru is pushed through this message when data cleansing occurs
# lru-clean-context: Lru 发生数据清理时通过这个消息推送
2021-10-19 16:34:32 +08:00
lru-clean-context: ["mock-plugins"]
2021-10-19 16:02:05 +08:00
# lru-ttl-context: Lru is pushed through this message when data expires
# lru-ttl-context: Lru 发生数据过期时通过这个消息推送
2021-10-19 16:34:32 +08:00
lru-ttl-context: ["mock-plugins"]
2021-10-19 16:02:05 +08:00
# plugins-info-contextAll plugins information for the current project
# plugins-info-context: 当前项目全部的插件信息
2021-10-19 16:34:32 +08:00
plugins-infos-context: ["mock-plugins"]
2021-10-16 18:29:31 +08:00
gateway:
host: '127.0.0.1'
port: 5891
2021-10-24 19:50:59 +08:00
target: ["127.0.0.1:5890"]
2021-10-25 15:47:21 +08:00
mock-plugin:
pprof-addr: "127.0.0.1:8000"