Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service
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
external
on-site-service
Commits
7b9ed6b9
Commit
7b9ed6b9
authored
Jul 28, 2022
by
qiaobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 生产环境配置文件修改1
parent
e39619c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
application-common-prod.yaml
constant/src/main/resources/application-common-prod.yaml
+39
-2
No files found.
constant/src/main/resources/application-common-prod.yaml
View file @
7b9ed6b9
...
...
@@ -8,7 +8,7 @@ spring:
datasource
:
url
:
jdbc:mysql://47.104.22.209:3306/onsite_service_prod${project.mysql-url-params}
username
:
root
password
:
ENC(
oHHR1aTYVkDAYpWjQk2rD0qIqDId4m0l
)
password
:
ENC(
QcbMqxYQ11zFARXnTMqXMvgSRokDD2eEadefif0ruhc=
)
hikari
:
# 池中维护的最小空闲连接数 默认10
minimum-idle
:
5
...
...
@@ -19,7 +19,44 @@ spring:
redis
:
database
:
0
# Redis服务器地址
host
:
172.27.134.198
# Redis服务器连接端口
port
:
6379
# Redis服务器连接密码(默认为空)
password
:
antaikeji2019
# 连接超时时间(毫秒)
timeout
:
10000
# 配置连接池属性 jedis与lettuce
lettuce
:
pool
:
# 连接池中的最小空闲连接
min-idle
:
10
# 连接池中的最大空闲连接
max-idle
:
100
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
2000
# 连接池最大阻塞等待时间(毫秒) 默认 -1(使用负值表示没有限制)
max-wait
:
-1
rabbitmq
:
host
:
172.27.134.198
port
:
5672
username
:
rabbit
password
:
antaikeji666
# 需要手动去rabbitmq上创建 VirtualHost是相对独立的RabbitMQ服务器 VirtualHost之间是相互隔离的。exchange、queue、message不能互通。相当于mysql的db
virtual-host
:
/wellnessunblocked/${spring.profiles.active}
listener
:
simple
:
concurrency
:
5
max-concurrency
:
10
prefetch
:
10
# 一次消费几条
retry
:
enabled
:
true
#是否开启消费者重试(为false时关闭消费者重试,这时消费端代码异常会一直重复收到消息)
max-attempts
:
5
#最大重试次数
initial-interval
:
5000
#重试间隔时间(单位毫秒)
max-interval
:
1200000
#重试最大时间间隔(单位毫秒)
multiplier
:
5
#应用于前一重试间隔的乘法器
jpa
:
show-sql
:
true
...
...
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