Customizable timeout for rest endpoints

There is an option for customizing the timeout, but this doesn’t seem to work and the normal timeout still applies. How does this work?

Hi Joeri,

I’ve had a look myself as well and I also didn’t manage to get the timeout to apply properly. IIRC it did work before, so it might be something on IIS level that makes it no longer work - i really can’t say.
I’ve planned in a ticket for the plugins team to investigate further some time soon.

Greetings,
Miroslav

1 Like

Hi Joeri,

I looked into the issue and found my development notes, from which I remembered how was this supposed to work
For the Configurable timeout to work, the key in the webconfig of your application should be set to false, like so:

If you are curious, for details you can see the Remarks section here HttpServerUtility.ScriptTimeout Property (System.Web) | Microsoft Learn

After changing this to false in my local environment, I indeed see my requests return with HTTP 500 timeout from the server.

The comment block you see there, I believe is automatically generated, which also makes quite a lot of sense to me. Although I do not know what are the other usages of this property (I suspect, that it might be needed for enabling Trace, however I am not completely sure)

In the SVN directory where your application code is generated - I indeed see that the debug is set to true (not sure what is the case in your production environment)

I hope this answers your question.

Greetings,
Miroslav