소스 검색

新增druid配置

codingliang 3 달 전
부모
커밋
3b89886750
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/resources/application-prod.yml

+ 4 - 0
src/main/resources/application-prod.yml

@@ -19,6 +19,10 @@ spring:
             test-while-idle: true
             test-on-borrow: false
             test-on-return: false
+            default-auto-commit: true
+            remove-abandoned: true
+            remove-abandoned-timeout: 30
+            log-abandoned: true
             stat-view-servlet:
                 enabled: true
                 url-pattern: /druid/*