Which property can be changed to increase timeout?

TT3
Kilo Guru

We are passing an array of objects (around 1000 to 2000 objects) to a remote server for processing.

We pass this using async process and utilize ECC queue framework. The queue can take around 5 to 10 mins depending on load. All goes well however, the ECC queue timeouts and so we can't process the response. Is there any property in ServiceNow to increase this timeout?

3 REPLIES 3

Yousaf
Giga Sage

Hi,

Please refer to this.

How to increase the timeout for a REST response? (ECCResponseTimeoutException)

 

Mark Correct and Helpful if it helps.


***Mark Correct or Helpful if it helps.***

Eric W
Tera Guru

Please note that simply increasing the timeout could very well be solving the wrong problem.

Timeouts are there to protect systems from resource constraints.  When too many transactions are taking too long, then we run into semaphore exhaustion, database resource contention, and other issues that can negatively impact the system or its processing.

If the workload lends itself to using smaller batch sizes, that will typically aid scalability much better than simply increasing the timeout.

It may be helpful to think of increasing timeouts like replacing an electrical fuse with an iron nail.  Yes, that fuse will no longer be the part that fails.  The excitement will come when the parts that were being protected by the fuse start to fail.

Great analogy, wish I had thought of it!