What is the default timeout set in forward-request

2.4k views Asked by At

In the official documentation, it is set to None. What does None means?

enter image description here

2

There are 2 answers

0
AudioBubble On

I believe that the default timeout in forward-request set to none is not the no timeout.

As Specified in the same official documentation, forward-request is a root element and the required in the operation level policy.

Any value greater than 240 seconds won't be reliable and it can timeout within the range of 0 to 240 seconds, and the fix of timeout issue can be like changing the implementation a bit if that's in your control based on the number of requests forwarded by APIM gateway or backend instances or due to proxy response time.

0
Imgane5h On

enter image description here

Documentation shows 300 default but max is 240 seconds. I got timeout after 30 second so I believe it is a mistake in docs. Default should be 30 seconds.