AnsweredAssumed Answered

Async job timeout

Question asked by lossril on Mar 2, 2016
Latest reply on Mar 7, 2016 by martin.grofcik
Hello,

I've got a problem. There is a Service Task which takes some 20 minutes to execute (some pretty heavy SQLs). When AsyncJobExecutor is enabled in engine.properties (in this case I'm using the default Explorer webapp), it doesn't finish the job and restarts it. I've googled it and found that I can change this timeout programmatically by AsyncExecutor.setAsyncJobLockTimeInMillis(). How should I create an instance of AsyncExecutor properly in order to configure the engine with it? Also, is there any way to configure Explorer webapp to change the timeout?

Outcomes