Skip to content

Commit

Permalink
Update the threshold in throttle example
Browse files Browse the repository at this point in the history
We keep hitting the threshold when testing against the test website, so
this should help avoid this when running CI during the day.
  • Loading branch information
ankur22 committed Sep 4, 2024
1 parent d306bd8 commit 61e7d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const options = {
},
thresholds: {
'browser_http_req_duration{scenario:normal}': ['p(99)<500'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<3000'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<4000'],
'iteration_duration{scenario:normal}': ['p(99)<4000'],
'iteration_duration{scenario:cpuThrottled}': ['p(99)<10000'],
},
Expand Down
2 changes: 1 addition & 1 deletion sync-examples/sync_throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const options = {
},
thresholds: {
'browser_http_req_duration{scenario:normal}': ['p(99)<500'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<3000'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<4000'],
'iteration_duration{scenario:normal}': ['p(99)<4000'],
'iteration_duration{scenario:cpuThrottled}': ['p(99)<10000'],
},
Expand Down

0 comments on commit 61e7d92

Please sign in to comment.