Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
practical_train
Commits
1cd768fc
Commit
1cd768fc
authored
Aug 31, 2026
by
王蔡翾
Browse files
配置
parent
e0044f7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
practical-business/src/main/resources/bootstrap-dev.yml
View file @
1cd768fc
...
...
@@ -13,3 +13,9 @@ spring:
namespace
:
272b9958-7a2d-41f8-ba0b-fdcb7ee8ead0
shared-configs
:
-
application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 测试环境不要求秒级发送通知,将发件箱空轮询间隔调整为10秒,减少无待发消息时的数据库查询和日志输出。
# 该配置仅覆盖dev环境;公共配置及生产环境的轮询间隔保持不变。
notification
:
outbox
:
poll-interval-millis
:
10000
practical-business/src/main/resources/bootstrap.yml
View file @
1cd768fc
...
...
@@ -5,8 +5,8 @@ spring:
rabbitmq
:
host
:
${RABBITMQ_HOST:127.0.0.1}
port
:
${RABBITMQ_PORT:5672}
username
:
${RABBITMQ_USERNAME:
guest
}
password
:
${RABBITMQ_PASSWORD:
guest
}
username
:
${RABBITMQ_USERNAME:
admin
}
password
:
${RABBITMQ_PASSWORD:
ruzhoukj@2026
}
virtual-host
:
${RABBITMQ_VHOST:/}
publisher-confirm-type
:
correlated
publisher-returns
:
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