Which property can be changed to increase timeout?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2022 12:45 PM
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?
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2022 12:56 PM
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.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2022 01:15 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2022 02:09 PM
Great analogy, wish I had thought of it!