Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next Fire Time is null #5

Open
SameerTi opened this issue Jul 6, 2015 · 1 comment
Open

Next Fire Time is null #5

SameerTi opened this issue Jul 6, 2015 · 1 comment

Comments

@SameerTi
Copy link

SameerTi commented Jul 6, 2015

First of all thanks for this sample, i used as a reference and modified a bit, trying to make it as simple as possible, in my case triggers are stored as Hash keys as "trigger:grpName:cronTriggerTest"

hence in "acquireNextTriggers" this is what i do:

for (String triggerHashKey : stringRedisConnection.keys("trigger:grpName:cronTriggerTest") ) {

// do retrievetrigger ...

but this trigger always has next fire time as NULL and hence triggers never gets fired as we have a check here that:
if ((trigger != null) && trigger.getNextFireTime() == null) {
/** Trigger has no next fire time. Unset its WAITING state. **/
continue;
}
}

Note: i am also NOT using any trigger state logic here.

@itamarhaber
Copy link
Member

Hi Sameer - thanks for reporting this. Our team is currently occupied with other tasks, but we'll try to attend to this matter asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants