AnsweredAssumed Answered

Can I set different io.timeout for different queryTask.execute ?

Question asked by abjones on Jul 15, 2016

esri.config.defaults.io.timeout

I have many sources with most completing under 20 seconds.  But one or two can take close to 150 seconds.

When I change esri.config.defaults.io.timeout to 150000 before a long task

and then set esri.config.defaults.io.timeout to 20000 for a short task, the long task throws timeout error at 20 seconds.

Is there a method to set io timeout for indiviual tasks?

 

Thanks, Dinosaur Blair

Outcomes