Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
48715d71
Commit
48715d71
authored
Dec 04, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
eb0fc377
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
application-dev.properties
...spatrol-biz/src/main/resources/application-dev.properties
+14
-13
No files found.
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/resources/application-dev.properties
View file @
48715d71
...
@@ -10,7 +10,7 @@ eureka.instance.lease-expiration-duration-in-seconds=10
...
@@ -10,7 +10,7 @@ eureka.instance.lease-expiration-duration-in-seconds=10
eureka.instance.lease-renewal-interval-in-seconds
=
5
eureka.instance.lease-renewal-interval-in-seconds
=
5
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url-path
=
/actuator/info
eureka.instance.status-page-url-path
=
/actuator/info
eureka.instance.ip-address
=
172.16.3.
56
eureka.instance.ip-address
=
172.16.3.
32
ribbon.eureka.enabled
=
true
ribbon.eureka.enabled
=
true
ribbon.ConnectTimeout
=
5000
ribbon.ConnectTimeout
=
5000
...
@@ -147,7 +147,7 @@ spring.shardingsphere.props.sql-show= true
...
@@ -147,7 +147,7 @@ spring.shardingsphere.props.sql-show= true
spring.shardingsphere.datasource.names
=
ds0
spring.shardingsphere.datasource.names
=
ds0
spring.shardingsphere.props.max-connections-size-per-query
=
5
spring.shardingsphere.props.max-connections-size-per-query
=
5
shardingsphere.create.tables.num
=
5
shardingsphere.create.tables.num
=
10
# ds0
# ds0
spring.shardingsphere.datasource.ds0.type
=
com.zaxxer.hikari.HikariDataSource
spring.shardingsphere.datasource.ds0.type
=
com.zaxxer.hikari.HikariDataSource
spring.shardingsphere.datasource.ds0.driver-class-name
=
cn.com.vastbase.Driver
spring.shardingsphere.datasource.ds0.driver-class-name
=
cn.com.vastbase.Driver
...
@@ -164,13 +164,13 @@ spring.shardingsphere.datasource.ds0.maximum-pool-size=50
...
@@ -164,13 +164,13 @@ spring.shardingsphere.datasource.ds0.maximum-pool-size=50
#???????????????
#???????????????
# ???????????????????????user_id ????????????????????? user_id ????????
# ???????????????????????user_id ????????????????????? user_id ????????
spring.shardingsphere.rules.sharding.tables.p_plan_task_history.actual-data-nodes
=
ds0.p_plan_task_history_$->{1..
2
}
spring.shardingsphere.rules.sharding.tables.p_plan_task_history.actual-data-nodes
=
ds0.p_plan_task_history_$->{1..
${shardingsphere.create.tables.num}
}
spring.shardingsphere.rules.sharding.tables.p_plan_task_detail_history.actual-data-nodes
=
ds0.p_plan_task_detail_history_$->{1..
2
}
spring.shardingsphere.rules.sharding.tables.p_plan_task_detail_history.actual-data-nodes
=
ds0.p_plan_task_detail_history_$->{1..
${shardingsphere.create.tables.num}
}
spring.shardingsphere.rules.sharding.tables.p_check_history.actual-data-nodes
=
ds0.p_check_history_$->{1..
2
}
spring.shardingsphere.rules.sharding.tables.p_check_history.actual-data-nodes
=
ds0.p_check_history_$->{1..
${shardingsphere.create.tables.num}
}
spring.shardingsphere.rules.sharding.tables.p_check_input_history.actual-data-nodes
=
ds0.p_check_input_history_$->{1..
2
}
spring.shardingsphere.rules.sharding.tables.p_check_input_history.actual-data-nodes
=
ds0.p_check_input_history_$->{1..
${shardingsphere.create.tables.num}
}
spring.shardingsphere.rules.sharding.tables.p_check_shot_history.actual-data-nodes
=
ds0.p_check_shot_history_$->{1..
2
}
spring.shardingsphere.rules.sharding.tables.p_check_shot_history.actual-data-nodes
=
ds0.p_check_shot_history_$->{1..
${shardingsphere.create.tables.num}
}
#
spring.shardingsphere.sharding.default-data.source-name=ds0
spring.shardingsphere.sharding.default-data.source-name
=
ds0
spring.main.allow-bean-definition-overriding
=
true
spring.main.allow-bean-definition-overriding
=
true
# -----????
# -----????
...
@@ -192,19 +192,19 @@ spring.shardingsphere.rules.sharding.tables.p_check_shot_history.table-strategy.
...
@@ -192,19 +192,19 @@ spring.shardingsphere.rules.sharding.tables.p_check_shot_history.table-strategy.
#????????
#????????
spring.shardingsphere.rules.sharding.sharding-algorithms.task-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.task-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.task-inline.props.algorithm-expression
=
p_plan_task_history_$->{id %
2
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.task-inline.props.algorithm-expression
=
p_plan_task_history_$->{id %
${shardingsphere.create.tables.num}
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.task-detail-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.task-detail-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.task-detail-inline.props.algorithm-expression
=
p_plan_task_detail_history_$->{id %
2
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.task-detail-inline.props.algorithm-expression
=
p_plan_task_detail_history_$->{id %
${shardingsphere.create.tables.num}
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-inline.props.algorithm-expression
=
p_check_history_$->{id %
2
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-inline.props.algorithm-expression
=
p_check_history_$->{id %
${shardingsphere.create.tables.num}
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-input-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-input-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-input-inline.props.algorithm-expression
=
p_check_input_history_$->{id %
2
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-input-inline.props.algorithm-expression
=
p_check_input_history_$->{id %
${shardingsphere.create.tables.num}
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-shot-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-shot-inline.type
=
INLINE
spring.shardingsphere.rules.sharding.sharding-algorithms.check-shot-inline.props.algorithm-expression
=
p_check_shot_history_$->{id %
2
+ 1}
spring.shardingsphere.rules.sharding.sharding-algorithms.check-shot-inline.props.algorithm-expression
=
p_check_shot_history_$->{id %
${shardingsphere.create.tables.num}
+ 1}
# -----????
# -----????
logging.level.com.baomidou
=
debug
logging.level.com.baomidou
=
debug
\ No newline at end of file
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