Skip to content

Commit f4b05db

Browse files
Merge pull request #84 from dsowza/master
Fix duplication of jobs in a clustered grails 3.3.x quartz 2.0.13 App
2 parents f1063ca + ccfeb5c commit f4b05db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

grails-app/jobs/grails/plugin/asyncmail/AsynchronousMailJob.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import groovy.util.logging.Slf4j
99
class AsynchronousMailJob {
1010
static triggers = {}
1111

12-
def concurrent = false
13-
def group = "AsynchronousMail"
12+
static concurrent = false
13+
static group = "AsynchronousMail"
1414

1515
// Dependency injection
1616
AsynchronousMailProcessService asynchronousMailProcessService

grails-app/jobs/grails/plugin/asyncmail/ExpiredMessagesCollectorJob.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import groovy.util.logging.Slf4j
66
class ExpiredMessagesCollectorJob {
77
static triggers = {}
88

9-
def concurrent = false
10-
def group = "AsynchronousMail"
9+
static concurrent = false
10+
static group = "AsynchronousMail"
1111

1212
AsynchronousMailPersistenceService asynchronousMailPersistenceService
1313

0 commit comments

Comments
 (0)