How to change the 5 minute timeout interval for a async job?

I noticed that sometimes one our jobs exceeds 5 minutes, and flowable ends up retrying the job and eventually leads to FlowableOptimisticLockingException.

How do I configure it to use a longer duration for lock_exp_time_ in act_ru_job?



Look here :

for “asyncExecutorThreadKeepAliveTime” configuration. Hope it helps.

Arpit Agrawal

1 Like

Thanks Arpit. But I looked around in the source code and it’s actually controlled by setTimerLockTimeInMillis in the AsyncExecutor configuration. Just posting this here for future reference for anyone else.

1 Like