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 : https://www.flowable.org/docs/userguide/index.html#_async_executor_configuration
for “asyncExecutorThreadKeepAliveTime” configuration. Hope it helps.
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.