Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 76105c6

Browse files
committed
authentication-server远程调用打开重试
1 parent a46230a commit 76105c6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎auth/authentication-server/src/main/resources/application.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ spring:
99
port: ${REDIS_PORT:6379}
1010
##password: ${REDIS_PASSWORD:}
1111
datasource:
12-
driver-class-name: com.mysql.jdbc.Driver
13-
url: jdbc:${DATASOURCE_DBTYPE:mysql}://${DATASOURCE_HOST:localhost}:${DATASOURCE_PORT:3306}/sc_auth?characterEncoding=UTF-8&useUnicode=true&useSSL=false
12+
driver-class-name: com.mysql.cj.jdbc.Driver
13+
url: jdbc:${DATASOURCE_DBTYPE:mysql}://${DATASOURCE_HOST:localhost}:${DATASOURCE_PORT:3306}/sc_auth?characterEncoding=UTF-8&useUnicode=true&useSSL=false&serverTimezone=GMT
1414
username: ${DATASOURCE_USERNAME:root}
1515
password: ${DATASOURCE_PASSWORD:root123}
1616
zipkin:
@@ -27,14 +27,17 @@ spring:
2727
oauth2:
2828
jwt:
2929
signingKey: 123456
30+
cloud:
31+
loadbalancer:
32+
retry:
33+
enabled: true
3034

3135
feign:
3236
sentinel:
3337
enabled: true
3438
okhttp:
3539
enabled: true
3640

37-
3841
jetcache:
3942
statIntervalMinutes: 15
4043
areaInCacheName: false

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /