Skip to content

changes for this issue https://github.com/Azure-Samples/AI-Gateway/issues/262#285

Open
seilorjunior wants to merge 4 commits intoAzure-Samples:mainfrom
seilorjunior:main
Open

changes for this issue https://github.com/Azure-Samples/AI-Gateway/issues/262#285
seilorjunior wants to merge 4 commits intoAzure-Samples:mainfrom
seilorjunior:main

Conversation

@seilorjunior
Copy link
Contributor

This condition is no longer accurate as the StatusReason has been changed by Engineering:

condition="@(context.Response.StatusCode == 429 || (context.Response.StatusCode == 503 && !context.Response.StatusReason.Contains("Backend pool") && !context.Response.StatusReason.Contains("is temporarily unavailable")))">

It should be updated to this:

condition="@(context.Response.StatusCode == 429 || context.Response.StatusCode == 503)">

A working load balancing policy can be found on APIM Samples.

Chnages for this issue #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant