feat: tenant app invocations limiter (#16221)
This commit is contained in:
parent
c3c957bb80
commit
c07af5a1a3
8 changed files with 68 additions and 16 deletions
|
|
@ -61,6 +61,10 @@ class AppExecutionConfig(BaseSettings):
|
|||
description="Maximum number of concurrent active requests per app (0 for unlimited)",
|
||||
default=0,
|
||||
)
|
||||
APP_DAILY_RATE_LIMIT: NonNegativeInt = Field(
|
||||
description="Maximum number of requests per app per day",
|
||||
default=5000,
|
||||
)
|
||||
|
||||
|
||||
class CodeExecutionSandboxConfig(BaseSettings):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue