zhongrj
2024-04-23 240a31503af3c1e6709fb4513a709b3290df6d4e
配置丢失补回
1 files modified
10 ■■■■ changed files
src/main/resources/application.yml 10 ●●●● patch | view | raw | blame | history
src/main/resources/application.yml
@@ -27,8 +27,8 @@
      # Oracle校验
      #validation-query: select 1 from dual
      validation-query-timeout: 2000
      initial-size: 5
      max-active: 20
      initial-size: 20
      max-active: 100
      min-idle: 5
      max-wait: 60000
      test-on-borrow: false
@@ -46,6 +46,12 @@
        exclusions: '*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*'
        session-stat-enable: true
        session-stat-max-count: 10
      # 超过时间限制是否回收
      remove-abandoned: true
      # 超时时间;单位为秒。180秒=3分钟
      remove-abandoned-timeout: 180
      # 关闭abanded连接时输出错误日志
      log-abandoned: true
  main:
    allow-circular-references: true
  #邮件配置