Merge branch 'v1.15' into 4422_ext

This commit is contained in:
Hannah Hunter 2024-12-18 12:15:43 -05:00 committed by GitHub
commit d347626ca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
PYTHON_VER: 3.7 PYTHON_VER: 3.12
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check Microsoft URLs do not pin localized versions - name: Check Microsoft URLs do not pin localized versions
@ -27,7 +27,7 @@ jobs:
exit 1 exit 1
fi fi
- name: Set up Python ${{ env.PYTHON_VER }} - name: Set up Python ${{ env.PYTHON_VER }}
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: ${{ env.PYTHON_VER }} python-version: ${{ env.PYTHON_VER }}
- name: Install dependencies - name: Install dependencies

View File

@ -96,7 +96,7 @@ spec:
policy: constant policy: constant
duration: 5s duration: 5s
maxRetries: 3 maxRetries: 3
matches: matching:
httpStatusCodes: "429,500-599" # retry the HTTP status codes in this range. All others are not retried. httpStatusCodes: "429,500-599" # retry the HTTP status codes in this range. All others are not retried.
gRPCStatusCodes: "1-4,8-11,13,14" # retry gRPC status codes in these ranges and separate single codes. gRPCStatusCodes: "1-4,8-11,13,14" # retry gRPC status codes in these ranges and separate single codes.
``` ```

View File

@ -32,6 +32,9 @@ spec:
duration: <REPLACE-WITH-VALUE> duration: <REPLACE-WITH-VALUE>
maxInterval: <REPLACE-WITH-VALUE> maxInterval: <REPLACE-WITH-VALUE>
maxRetries: <REPLACE-WITH-VALUE> maxRetries: <REPLACE-WITH-VALUE>
matching:
httpStatusCodes: <REPLACE-WITH-VALUE>
gRPCStatusCodes: <REPLACE-WITH-VALUE>
circuitBreakers: circuitBreakers:
circuitBreakerName: # Replace with any unique name circuitBreakerName: # Replace with any unique name
maxRequests: <REPLACE-WITH-VALUE> maxRequests: <REPLACE-WITH-VALUE>