settings.py 647 B

1234567891011121314151617
  1. from core_shared import ServiceSettings
  2. class TeamServiceSettings(ServiceSettings):
  3. service_name: str = "team-service"
  4. service_port: int = 8009
  5. agent_service_url: str = "http://127.0.0.1:8007"
  6. agent_service_timeout_seconds: float = 120.0
  7. event_service_url: str = "http://127.0.0.1:8013"
  8. event_service_timeout_seconds: float = 5.0
  9. worker_poll_interval_seconds: float = 1.0
  10. worker_lease_seconds: int = 300
  11. worker_stale_running_seconds: int = 60
  12. worker_max_idle_cycles: int | None = None
  13. worker_dry_run: bool = False
  14. auto_worker_enabled: bool = True
  15. auto_worker_stop_timeout_seconds: float = 5.0