# 应用服务器
server:
  tomcat:
    uri-encoding: UTF-8
    accept-count: 5000
    threads:
      max: 2000
  port: 30033
netty:
  ip: 162.14.105.247
  port: 8888
  application:
    name: jnpf-ftb-netty
spring:
  servlet:
    multipart:
      max-file-size: 500MB
      max-request-size: 600MB

management:
  endpoints:
    web:
      exposure:
        include: '*'
  endpoint:
    shutdown:
      enabled: true
    health:
      show-details: always
    # 开启在线日志查看功能
    logfile:
      enabled: true

# 智能排班：按营业额选相似日时的「带状档」最少历史样本天数（1～90，算法内再 clamp）。新店可改为 7 等。
jnpf:
  ftb:
    schedule:
      template-similar-days-min-band-sample-days: 10
      # 营业额带半宽 λ₁（tier1 同星期几·严带）、λ₂（tier2/3·宽带），须在 (0,1)；非法则回退算法默认
      template-similar-days-band-strict: '0.10'
      template-similar-days-band-relaxed: '0.15'
      # 考勤班次 fuzzy 绑定：覆盖率与效率阈值 [0,1]，对齐 AttendanceGroupShiftMatchConfig
      attendance-shift-match-min-history-coverage: '0.7'
      attendance-shift-match-min-candidate-efficiency: '0.6'