From fce3ed71f47ef267ee96697f6defc821d08213dc Mon Sep 17 00:00:00 2001 From: xiang Date: Sun, 22 Mar 2026 10:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xs-server/src/main/resources/application.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/xs-server/src/main/resources/application.yml b/xs-server/src/main/resources/application.yml index 3b1592f..be3d68e 100644 --- a/xs-server/src/main/resources/application.yml +++ b/xs-server/src/main/resources/application.yml @@ -11,9 +11,26 @@ spring: main: allow-bean-definition-overriding: true headless: true + cloud: + loadbalancer: + retry: + enabled: false + cache: + enabled: true + cache: + type: caffeine + caffeine: + spec: initialCapacity=100,maximumSize=1000,expireAfterWrite=30s mybatis: mapper-locations: - classpath*:mapper/*/*.xml configuration: - map-underscore-to-camel-case: true \ No newline at end of file + map-underscore-to-camel-case: true + +feign: + client: + config: + default: + connectTimeout: 1000 + readTimeout: 3000 \ No newline at end of file