I have a javascript query which iterates over a list and executes a rest api call. I find that the api calls will 'timeout' based on when all of the api calls finish, not a single one.
For instance, in the screenshot, if submitExpertJob
has a timeout of 1000 ms, then when this loop is called, all calls to submitExpertJob will timeout after 1000 ms. It does not seem to be treating each call individually. To get around this, I have set the timeout of submitExpertJob to 120000 - however this will not work at scale. I have a list of 300+ objects which need to be iterated over for an api call, and I would like the timeout to be treated separately for each individual call.