Grails-Plugin-Consortium / grails-jesque

1 stars 5 forks source link

scheduled job enqueued twice #29

Open bp-FLN opened 5 years ago

bp-FLN commented 5 years ago

We recently discovered that sometimes some of our scheduled jobs are enqueued twice. It happens fairly random and does not seem to be related to the number of scheduled jobs scheduled at that specific time. We suspect that this is caused by some kind of race-condition in the JesqueSchedulerService.

Some info about our setup: There are 4 EC2 instances that are running the scheduler thread. They are connected to an ElastiCache cache.m4.xlarge Redis instance.