From dd41a04b100914f17124f33a8ed14b3ce5d44300 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sun, 20 Mar 2022 14:41:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=BA=9B=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=E6=B1=A0=E4=B8=AA=E6=80=A7=E5=8C=96=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/jeesite-core.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index ab214dda..30a465b1 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -86,6 +86,12 @@ spring: isClusterMode: false # 清理全部缓存按钮所清理的缓存列表 clearNames: sysCache,corpCache,userCache,cmsCache,msgPcPoolCache,roleCache,fileUploadCache,bpmFormCache + # 用户缓存 + #userCache: + # clearTaskPool: + # corePoolSize: 5 + # maxPoolSize: 20 + # keepAliveSeconds: 60 # 打印横幅 main: @@ -501,6 +507,13 @@ j2cache: channel: j2cache # 缓存命名空间名 namespace: jeesite + # 消息监听器 + #listener: + # taskPool: + # corePoolSize: 8 + # maxPoolSize: 20 + # keepAliveSeconds: 60 + # queueCapacity: 1000 # 通知订阅 broadcast: @@ -699,6 +712,11 @@ msg: enabled: true # 消息实时推送任务Bean名称 beanName: msgLocalPushTask + # 消息推送线程池 + #pushTaskPool: + # corePoolSize: 5 + # maxPoolSize: 20 + # keepAliveSeconds: 60 # 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史 pushFailNumber: 3