Remove suffix-based stage2 escalation by default

This commit is contained in:
kim
2026-03-30 16:30:00 +08:00
parent cec0920f0c
commit fef2e57cf4
6 changed files with 16 additions and 17 deletions
+2 -5
View File
@@ -5,9 +5,6 @@ from dataclasses import dataclass, replace
from tgvideo_check.config import DEFAULT_VIDEO_EXTENSIONS, ScanConfig
TG_HIGH_RISK_EXTENSIONS: tuple[str, ...] = ("mp4", "mov", "m4v", "mkv", "webm")
@dataclass(frozen=True)
class Profile:
name: str
@@ -23,14 +20,14 @@ PROFILES: dict[str, Profile] = {
stage1_workers=1,
stage2_workers=1,
sample_duration=3,
high_risk_extensions=TG_HIGH_RISK_EXTENSIONS,
high_risk_extensions=(),
),
"tg-fast": Profile(
name="tg-fast",
stage1_workers=2,
stage2_workers=1,
sample_duration=3,
high_risk_extensions=TG_HIGH_RISK_EXTENSIONS,
high_risk_extensions=(),
),
"deep-verify": Profile(
name="deep-verify",