Skip to content

Commit a7451ee

Browse files
authored
Rate limits (#63)
* Updated rate limits * Changed commented environment to ‘prod’ * Sandbox is set to 60 calls per minute (1 per second) * Reducing the rate limit on ‘int’ to 10 calls per minute * Tweaked ‘ratelimit’ and ‘quota’ values * Removed quotes and added comments
1 parent 4fd87e2 commit a7451ee

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

manifest_template.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,44 @@ APIGEE_ENVIRONMENTS:
55
- name: internal-dev
66
display_name: Internal Development
77
has_mock_auth: true
8-
ratelimit: '600pm'
9-
quota: '600'
8+
ratelimit: 60pm # 1 request per second
9+
quota: 60
1010
- name: internal-qa
1111
display_name: Internal QA
1212
has_mock_auth: true
13+
ratelimit: 60pm # 1 request per second
14+
quota: 60
1315
- name: ref
1416
display_name: Reference
1517
has_mock_auth: true
16-
ratelimit: '600pm'
17-
quota: '600'
18+
ratelimit: 60pm # 1 request per second
19+
quota: 60
1820
- name: internal-dev-sandbox
1921
display_name: Internal Development Sandbox
2022
portal_visibility: false
21-
ratelimit: '600pm'
22-
quota: '600'
23+
ratelimit: 60pm # 1 request per second
24+
quota: 60
2325
- name: internal-qa-sandbox
2426
display_name: Internal QA Sandbox
2527
portal_visibility: false
26-
ratelimit: '600pm'
27-
quota: '600'
28-
- name: int
29-
display_name: Integration Testing
30-
ratelimit: '1200pm'
31-
quota: '1200'
28+
ratelimit: 60pm # 1 request per second
29+
quota: 60
3230
- name: sandbox
3331
display_name: Sandbox
3432
portal_visibility: false
35-
ratelimit: '600pm'
36-
quota: '600'
33+
ratelimit: 60pm # 1 request per second
34+
quota: 60
35+
- name: int
36+
display_name: Integration Testing
37+
ratelimit: 10pm # 1 request every 6 seconds
38+
quota: 10 # 10 requests per minute
3739
# Enable environments when ready by uncommenting:
38-
# - name: internal-qa
39-
# display_name: Internal QA
40-
# has_mock_auth: true
41-
# portal_visibility: false
40+
# - name: prod
41+
# display_name: Production
42+
# has_mock_auth: false
43+
# portal_visibility: true
44+
# ratelimit: 6000pm # 100 requests per second
45+
# quota: 6000 # 6000 requests per minute
4246
---
4347
meta:
4448
api:

0 commit comments

Comments
 (0)