mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add flag to disaable all rate limits (#5570)
This commit is contained in:
@@ -308,7 +308,7 @@ export interface DeploymentConfig {
|
||||
readonly browser_only: DeploymentConfigField<boolean>
|
||||
readonly scim_api_key: DeploymentConfigField<string>
|
||||
readonly provisioner: ProvisionerConfig
|
||||
readonly api_rate_limit: DeploymentConfigField<number>
|
||||
readonly rate_limit: RateLimitConfig
|
||||
readonly experimental: DeploymentConfigField<boolean>
|
||||
readonly update_check: DeploymentConfigField<boolean>
|
||||
readonly max_token_lifetime: DeploymentConfigField<number>
|
||||
@@ -585,6 +585,12 @@ export interface PutExtendWorkspaceRequest {
|
||||
readonly deadline: string
|
||||
}
|
||||
|
||||
// From codersdk/deploymentconfig.go
|
||||
export interface RateLimitConfig {
|
||||
readonly disable_all: DeploymentConfigField<boolean>
|
||||
readonly api: DeploymentConfigField<number>
|
||||
}
|
||||
|
||||
// From codersdk/replicas.go
|
||||
export interface Replica {
|
||||
readonly id: string
|
||||
|
||||
Reference in New Issue
Block a user