We would like to extend 5 min timeout as well number of retries for service task.
We have changed in activiti-engine.jar following fields of JobExecutor:
protected int maxJobsPerAcquisition = 0; // no retries
protected int lockTimeInMillis = 20 * 60 * 1000; // 20 min for testing
but behaviour of activiti seems stayed as before (after 5 min retry is triggered anyway), besides we have seen that act_ru_job table contains job with lock_exp_time_ set to 20 mins as it is in code.
Do you know why is this happening?
How to increase 5 mins to like 120 mins and set retries to 0?
Thank you.
BR
Marije