修改限速

This commit is contained in:
dekun
2026-05-22 13:24:03 +08:00
parent 83d6b19b5e
commit ee4ee87e37
7 changed files with 132 additions and 8 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ class Settings(BaseSettings):
host: str = "127.0.0.1"
port: int = 21450
db_path: str = str(ROOT_DIR / "data" / "monitor.db")
max_concurrency: int = 20
max_concurrency: int = 3
request_interval_sec: float = 0.15
ban_cooldown_sec: int = 90
max_retries: int = 5
candidate_pool: int = 150
# 代理默认关闭;仅当 PROXY_ENABLED=true 时生效
proxy_enabled: bool = False
proxy_url: str = "socks5h://192.168.8.4:1081"