feat ✨ 添加队列和缓存的默认配置信息
This commit is contained in:
1 parent
be36c595c3
commit
b21f665760
1 file changed
+20
-3
+20
-3
@@ -44,9 +44,26 @@ settings:
|
||||
dbname: dbname
|
||||
# 代码生成是使用前端代码存放位置,需要指定到src文件夹,相对路径
|
||||
frontpath: ../go-admin-ui/src
|
||||
queue:
|
||||
memory:
|
||||
poolSize: 100
|
||||
extend: # 扩展项使用说明
|
||||
demo:
|
||||
name: data
|
||||
cache:
|
||||
redis:
|
||||
addr: 127.0.0.1:6379
|
||||
password: xxxxxx
|
||||
db: 2
|
||||
queue:
|
||||
memory:
|
||||
poolSize: 100
|
||||
# redis:
|
||||
# producer:
|
||||
# streamMaxLength: 100
|
||||
# approximateMaxLength: true
|
||||
# consumer:
|
||||
# visibilityTimeout: 60
|
||||
# bufferSize: 100
|
||||
# concurrency: 10
|
||||
# blockingTimeout: 5
|
||||
# reclaimInterval: 1
|
||||
locker:
|
||||
redis:
|
||||
Reference in new issue
Block a user