Commit 559dd74d by Administrator

Update techhero-ksfw-service.yml

parent 3e76e6ff
...@@ -15,23 +15,6 @@ spring: ...@@ -15,23 +15,6 @@ spring:
idle-timeout: 600000 idle-timeout: 600000
max-lifetime: 1500000 max-lifetime: 1500000
connection-test-query: select 1 #select 1 from dual connection-test-query: select 1 #select 1 from dual
rules:
readwrite-splitting:
data-sources:
rw-ds: # 读写数据源名称
static-strategy:
write-data-source-name: master
read-data-source-names:
- slave1
- slave2
load-balancer-name: round_robin
load-balancers:
round_robin:
type: ROUND_ROBIN
props:
show-sql: true # 显示SQL日志,调试用
# kernel-executor-size: 1
redis: redis:
host: 192.168.50.159 #119.96.87.17 #47.104.251.199 host: 192.168.50.159 #119.96.87.17 #47.104.251.199
port: 6379 #6942 port: 6379 #6942
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment