We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c6bc01 commit 1432c36Copy full SHA for 1432c36
src/settings.py
@@ -20,6 +20,15 @@ class Settings(BaseSettings):
20
REDIS_GROUP: str = "extractors"
21
REDIS_CONSUMER: str = "package-consumer"
22
23
+ # Database Configuration
24
+ DB_MIN_POOL_SIZE: int = 10
25
+ DB_MAX_POOL_SIZE: int = 100
26
+ DB_MAX_IDLE_TIME_MS: int = 60000
27
+ DB_DEFAULT_QUERY_TIMEOUT_MS: int = 30000
28
+ DB_SMTS_COLLECTION: str = "smts"
29
+ DB_OPERATION_RESULT_COLLECTION: str = "operation_results"
30
+ DB_API_KEY_COLLECTION: str = "api_keys"
31
+ DB_VULNERABILITIES_COLLECTION: str = "vulnerabilities"
32
33
@lru_cache
34
def get_settings() -> Settings:
0 commit comments