Browse Source

change connectionProvider.class from c3p0 to druid

pull/2/head
ligang 5 years ago
parent
commit
450e912b43
  1. 2
      escheduler-common/src/main/resources/quartz.properties

2
escheduler-common/src/main/resources/quartz.properties

@ -26,11 +26,11 @@ org.quartz.jobStore.isClustered = true
org.quartz.jobStore.misfireThreshold = 60000 org.quartz.jobStore.misfireThreshold = 60000
org.quartz.jobStore.clusterCheckinInterval = 5000 org.quartz.jobStore.clusterCheckinInterval = 5000
org.quartz.jobStore.dataSource = myDs org.quartz.jobStore.dataSource = myDs
org.quartz.dataSource.myDs.connectionProvider.class = cn.escheduler.server.quartz.DruidConnectionProvider
#============================================================================ #============================================================================
# Configure Datasources # Configure Datasources
#============================================================================ #============================================================================
org.quartz.dataSource.myDs.driver = com.mysql.jdbc.Driver org.quartz.dataSource.myDs.driver = com.mysql.jdbc.Driver
org.quartz.dataSource.myDs.URL = jdbc:mysql://192.168.xx.xx:3306/escheduler?characterEncoding=utf8 org.quartz.dataSource.myDs.URL = jdbc:mysql://192.168.xx.xx:3306/escheduler?characterEncoding=utf8
org.quartz.dataSource.myDs.user = xx org.quartz.dataSource.myDs.user = xx

Loading…
Cancel
Save