缓存
This commit is contained in:
@@ -23,11 +23,13 @@ class Settings(BaseSettings):
|
||||
public_base_url: str | None = None
|
||||
request_timeout_seconds: float = 20.0
|
||||
cache_ttl_seconds: int = 900
|
||||
bundle_cache_ttl_seconds: int = 600
|
||||
max_proxy_name_length: int = 80
|
||||
default_user_agent: str = "sub-provider/0.2"
|
||||
|
||||
sources_file: Path = CONFIG_DIR / "sources.yaml"
|
||||
rules_dir: Path = CONFIG_DIR / "rules"
|
||||
bundle_cache_dir: Path = ROOT_DIR / "output" / "bundle-cache"
|
||||
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=ROOT_DIR / ".env",
|
||||
|
||||
Reference in New Issue
Block a user