#
Junjie
9 天以前 8280c9eee52dd9fa3501305dfd4d1cab1564a73b
src/main/resources/application.yml
@@ -2,6 +2,7 @@
  port: 9090
  servlet:
    context-path: /@pom.build.finalName@
  shutdown: graceful
spring:
  application:
@@ -25,6 +26,15 @@
    scheduling:
      pool:
        size: 3
      shutdown:
        await-termination: true
        await-termination-period: 30s
    execution:
      shutdown:
        await-termination: true
        await-termination-period: 30s
  lifecycle:
    timeout-per-shutdown-phase: 20s
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
@@ -36,7 +46,7 @@
logging:
  file:
    path: ./stock/out/@pom.build.finalName@/logs
    path: /stock/out/@pom.build.finalName@/logs
super:
  pwd: xltys1995
@@ -63,7 +73,7 @@
  # 设备日志存储方式 mysql file
  type: file
  # file类型存储地址
  loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
  loggingPath: /stock/out/@pom.build.finalName@/deviceLogs
  # 日志过期时间 单位天
  expireDays: 7
@@ -76,4 +86,10 @@
  model: deepseek-ai/DeepSeek-V3.2
#  base-url: http://34.2.134.223:3000/v1
#  api-key: sk-WabrmtOezCFwVo7XvVOrO3QkmfcKG7T7jy0BaVnmQTWm5GXh
#  model: gemini-3-pro-preview
#  model: gemini-3-pro-preview
perf:
  methodTiming:
    enabled: false
    thresholdMs: 50
    sampleRate: 1.0