From b21f665760624de6246f7d1e3fd3cf5dda9555a5 Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Mon, 24 May 2021 18:40:57 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8=20=E6=B7=BB=E5=8A=A0=E9=98=9F?= =?UTF-8?q?=E5=88=97=E5=92=8C=E7=BC=93=E5=AD=98=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/settings.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/config/settings.yml b/config/settings.yml index 8544457e..5b527292 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -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: \ No newline at end of file