src/main/java/com/redislabs/quartz/RedisJobStore.java
/**
	 * Releasing triggers of non-alive schedulers.
	 * A `releaseTriggersInterval` should be configured for this mechanism to run.
	 */
Releasing triggers of non-alive schedulers.
A `releaseTriggersInterval` should be configured for this mechanism to run.
Releasing triggers of non - alive schedulers . A ` releaseTriggersInterval ` should be configured for this mechanism to run .
private void releaseTriggersCron() {
		if (this.releaseTriggersInterval > 0) {
			long lastTriggersReleseTime = getLastTriggersReleaseTime();	
			if ((System.currentTimeMillis() - lastTriggersReleseTime) > (this.releaseTriggersInterval)) {
				releaseOrphanedTriggers(RedisTriggerState.ACQUIRED, RedisTriggerState.WAITING);
				releaseOrphanedTriggers(RedisTriggerState.BLOCKED, RedisTriggerState.WAITING);
				releaseOrphanedTriggers(RedisTriggerState.PAUSED_BLOCKED, RedisTriggerState.PAUSED);							
				setLastTriggersReleaseTime(Long.toString(System.currentTimeMillis()));
			}			
		}			
	}
private void releaseTriggersCron ( ) { if ( this . releaseTriggersInterval > 0 ) { long lastTriggersReleseTime = getLastTriggersReleaseTime ( ) ; if ( ( System . currentTimeMillis ( ) - lastTriggersReleseTime ) > ( this . releaseTriggersInterval ) ) { releaseOrphanedTriggers ( RedisTriggerState . ACQUIRED , RedisTriggerState . WAITING ) ; releaseOrphanedTriggers ( RedisTriggerState . BLOCKED , RedisTriggerState . WAITING ) ; releaseOrphanedTriggers ( RedisTriggerState . PAUSED_BLOCKED , RedisTriggerState . PAUSED ) ; setLastTriggersReleaseTime ( Long . toString ( System . currentTimeMillis ( ) ) ) ; } } }
Releasing triggers of non-alive schedulers.
Releasing triggers of non - alive schedulers .