From cfba1fc7d6f80c43df3cc91a4398fd9a0a7c08ee Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 03 六月 2025 15:32:25 +0800 Subject: [PATCH] yxh --- ruoyi-admin/src/main/resources/application-srm.yml | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-srm.yml b/ruoyi-admin/src/main/resources/application-srm.yml index 1a55ef4..521bc99 100644 --- a/ruoyi-admin/src/main/resources/application-srm.yml +++ b/ruoyi-admin/src/main/resources/application-srm.yml @@ -7,14 +7,9 @@ # 涓诲簱鏁版嵁婧� master: # 鍖婚櫌鐜 -# url: jdbc:mysql://129.88.242.37:3308/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 -# username: JQ -# password: Jqserver88 - -# # 寮�鍙戠幆澧� - url: jdbc:mysql://116.62.18.175:6002/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 + url: jdbc:mysql://129.88.242.37:3308/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: opo - password: opo@2022 + password: Smartor.2025 # 浠庡簱鏁版嵁婧� slave: @@ -63,6 +58,29 @@ wall: config: multi-statement-allow: true + + # redis 閰嶇疆 + redis: + # 鍦板潃銆佸瘑鐮併�佺鍙o紙榛樿涓�6379锛夛細鍖婚櫌鐜 + host: 129.88.242.37 + password: jqserver + port: 6379 + + # 鏁版嵁搴撶储寮� + database: 0 + # 杩炴帴瓒呮椂鏃堕棿 + timeout: 10s + lettuce: + pool: + # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� + min-idle: 0 + # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� + max-idle: 8 + # 杩炴帴姹犵殑鏈�澶ф暟鎹簱杩炴帴鏁� + max-active: 8 + # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 + max-wait: -1ms + #閽夐拤鐨勫瘑閽ワ紙鐪佷汉姘戯級 agentId: 2975938892 dingAppid: dingbxgfddodocmtqqsu -- Gitblit v1.9.3