add tidb spend limit config (#9999)

This commit is contained in:
Jyong 2024-10-29 17:51:13 +08:00 • committed by GitHub
commit 5580bcf870
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -63,3 +63,8 @@ class TidbOnQdrantConfig(BaseSettings):
description="Tidb project id",
default=None,
)
TIDB_SPEND_LIMIT: Optional[int] = Field(
description="Tidb spend limit",
default=100,
)