Skip to content

Commit

Permalink
docs: Document max-concurrent-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Jul 15, 2024
1 parent 3eb0119 commit c27ab58
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,12 @@ helm upgrade -i k6-loadtester flagger-k6-webhook
--set webhook.vars.K6_CLOUD_TOKEN=token
--set webhook.vars.SLACK_TOKEN=slack_token
```
## Limited concurrent test runs
Whenever a k6 test is started, that process has to be managed by the application in order to avoid zombie processes.
This requires additional resources and the number of parallel test runs is therefore limited.
By default, that limit is set to 1,000 *parallel* k6 processes which can be configured using the `MAX_CONCURRENT_TESTS` environment variable or the `--max-concurrent-tests` flag.
If a new test request is received while the limit is reached, the request will be rejected with a HTTP 429 status.

0 comments on commit c27ab58

Please sign in to comment.