cancel
Showing results for 
Search instead for 
Did you mean: 

Desactivate timerLockTimeInMillis/asyncJobLockTimeInMillis

pbreak75
Champ in-the-making
Champ in-the-making
Hello,

Is thete a way to desacttiavate timerLockTimeInMillis and asyncJobLockTimeInMillis, i hve tried the value 0 , but it doesn't work.

timerLockTimeInMillis :
The time in milliseconds that a timer job is locked before being retried again. The Activiti Engine considers the timer job to have failed after this period of time and will retry.

asyncJobLockTimeInMillis:
The time in milliseconds that an asynchronous job is locked before being retried again. The Activiti Engine considers the asynchronous job to have failed after this period of time and will retry.

Regards,

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Looking at the source for DefaultJobManager.java, it doesnt appear as though you can disable the timerLockTimeInMillis and asyncJobLockTimeInMillis properties.

If this is a requirement, you could create a custom JobManager.

Cheers,

Greg