Permalink
Browse files

Harshit & Duck | Making quartz check for DB connection now and then, …

…so that it does not time out.
  • Loading branch information...
1 parent 1b19827 commit 089e0d6ca0c893f48dfa68bbfdf4025c0079d40b @arvindsv arvindsv committed May 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 drishti-web/src/main/resources/quartz.properties
@@ -14,5 +14,7 @@ org.quartz.dataSource.motechDS.URL = jdbc:mysql://localhost:3306/motechquartz?au
org.quartz.dataSource.motechDS.user = root
org.quartz.dataSource.motechDS.password = password
org.quartz.dataSource.motechDS.maxConnections = 30
+org.quartz.dataSource.motechDS.validationQuery = SELECT 1 FROM DUAL
+org.quartz.dataSource.motechDS.validateOnCheckout = true
#org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore

0 comments on commit 089e0d6

Please sign in to comment.