DealDocumentScreening/src/contract_check/worker_prescreen/config.py
2026-08-17 20:49:29 +03:00

21 lines
584 B
Python

"""Prescreen worker settings (extends the base settings with prescreen tuning)."""
from __future__ import annotations
from pydantic import Field
from ..core.config import Settings
class PrescreenSettings(Settings):
"""Settings for worker-prescreen.
Inherits all base env and adds the prescreen tunables from core.config.
They are already declared on `Settings`, so this class just provides a
typed alias used by the worker.
"""
mq_prefetch_prescreen: int = Field(
default=1,
description="Prefetch count for prescreen.q consumer.",
)