Remove suffix-based stage2 escalation by default
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user