fix: 修复健康检查和配置问题
- 修复健康检查 IP 地址 (172.17.16.14 -> localhost) - 禁用微信自动配置避免 appid 错误 - 添加服务依赖关系和启动顺序 - 优化 Jenkinsfile 部署流程 - 添加 Quartz 优雅关闭配置 - 注释 XXL-JOB Admin 配置(暂不部署)
This commit is contained in:
@@ -14,6 +14,8 @@ spring:
|
||||
config:
|
||||
namespace: ${NACOS_NAMESPACE:}
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
lifecycle:
|
||||
timeout-per-shutdown-phase: 30s # 增加优雅关闭超时时间
|
||||
|
||||
--- #################### 数据库相关配置 ####################
|
||||
spring:
|
||||
@@ -137,3 +139,21 @@ viewsh:
|
||||
enable: true
|
||||
security:
|
||||
mock-enable: false
|
||||
|
||||
--- #################### Quartz 优雅关闭配置 ####################
|
||||
|
||||
spring:
|
||||
quartz:
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
makeSchedulerThreadDaemon: true
|
||||
shutdownHook: clean_shutdown
|
||||
threadPool:
|
||||
threadNamePrefix: QuartzSchedulerThread
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
plugin:
|
||||
shutdownhook:
|
||||
class: org.quartz.plugins.management.ShutdownHookPlugin
|
||||
cleanShutdown: true
|
||||
|
||||
Reference in New Issue
Block a user