You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: "Maximum number of requests per minute allowed to the API per user, or per IP address for unauthenticated users. Negative values mean no rate limit. Some API endpoints are always rate limited regardless of this value to prevent denial-of-service attacks.",
Usage: "Disables all rate limits. This is not recommended in production.",
436
+
Flag: "dangerous-disable-rate-limits",
437
+
Default: false,
438
+
},
439
+
API: &codersdk.DeploymentConfigField[int]{
440
+
Name: "API Rate Limit",
441
+
Usage: "Maximum number of requests per minute allowed to the API per user, or per IP address for unauthenticated users. Negative values mean no rate limit. Some API endpoints have separate strict rate limits regardless of this value to prevent denial-of-service or brute force attacks.",
442
+
// Change the env from the auto-generated CODER_RATE_LIMIT_API to the
443
+
// old value to avoid breaking existing deployments.
Short: "Creates many workspaces and waits for them to be ready",
491
-
Long: "Creates many users, then creates a workspace for each user and waits for them finish building and fully come online. Optionally runs a command inside each workspace, and connects to the workspace over WireGuard.",
491
+
Long: `Creates many users, then creates a workspace for each user and waits for them finish building and fully come online. Optionally runs a command inside each workspace, and connects to the workspace over WireGuard.
492
+
493
+
It is recommended that all rate limits are disabled on the server before running this scaletest. This test generates many login events which will be rate limited against the (most likely single) IP.`,
Copy file name to clipboardExpand all lines: cli/testdata/coder_scaletest_create-workspaces_--help.golden
+2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
Creates many users, then creates a workspace for each user and waits for them finish building and fully come online. Optionally runs a command inside each workspace, and connects to the workspace over WireGuard.
2
2
3
+
It is recommended that all rate limits are disabled on the server before running this scaletest. This test generates many login events which will be rate limited against the (most likely single) IP.
0 commit comments