Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-guangxi-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-guangxi-config
Commits
9c90d47c
Commit
9c90d47c
authored
May 23, 2025
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-ksfw-service.yml
parent
fc3ebe23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
techhero-ksfw-service.yml
+55
-0
No files found.
techhero-ksfw-service.yml
View file @
9c90d47c
...
...
@@ -3,6 +3,61 @@ server:
max-threads
:
500
# Maximum amount of worker threads.
min-spare-threads
:
50
# Minimum amount of worker threads
spring
:
shardingsphere
:
datasource
:
names
:
master,slave1,slave2
master
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://119.96.87.17:30101/ksfw_dev?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
username
:
ksfw_dev
password
:
a3Nmd19kZXY=
minimum-idle
:
1
maximum-pool-size
:
5
keepalive-time
:
30000
idle-timeout
:
600000
max-lifetime
:
1500000
connection-test-query
:
select 1
slave1
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://119.96.87.17:30101/ksfw_dev?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
username
:
ksfw_dev
password
:
a3Nmd19kZXY=
minimum-idle
:
1
maximum-pool-size
:
5
keepalive-time
:
30000
idle-timeout
:
600000
max-lifetime
:
1500000
connection-test-query
:
select 1
slave2
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://119.96.87.17:30101/ksfw_dev?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
username
:
ksfw_dev
password
:
a3Nmd19kZXY=
minimum-idle
:
1
maximum-pool-size
:
5
keepalive-time
:
30000
idle-timeout
:
600000
max-lifetime
:
1500000
connection-test-query
:
select 1
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
:
host
:
192.168.50.159
#119.96.87.17 #47.104.251.199
port
:
6379
#6942
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment