Merge pull request #1884 from zaki-liu/bugfix

add validation-timeout to fix lost job scheduling bug
master
许雪里 4 years ago committed by GitHub
commit ee1aecc687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      xxl-job-admin/src/main/resources/application.properties

@ -38,6 +38,7 @@ spring.datasource.hikari.pool-name=HikariCP
spring.datasource.hikari.max-lifetime=900000 spring.datasource.hikari.max-lifetime=900000
spring.datasource.hikari.connection-timeout=10000 spring.datasource.hikari.connection-timeout=10000
spring.datasource.hikari.connection-test-query=SELECT 1 spring.datasource.hikari.connection-test-query=SELECT 1
spring.datasource.hikari.validation-timeout=1000
### xxl-job, email ### xxl-job, email
spring.mail.host=smtp.qq.com spring.mail.host=smtp.qq.com

Loading…
Cancel
Save