Commit 1cd768fc authored by 王蔡翾's avatar 王蔡翾
Browse files

配置

parent e0044f7b
......@@ -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
......@@ -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
......
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