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?

Thanks
Zoheb

Hi,

Look here : https://www.flowable.org/docs/userguide/index.html#_async_executor_configuration

for “asyncExecutorThreadKeepAliveTime” configuration. Hope it helps.

Thanks,
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.

2 Likes

You can set this property also : flowable.process.async.executor.async-job-lock-time