settings.py 569 B

123456789101112131415
  1. from core_shared import ServiceSettings
  2. class TeamServiceSettings(ServiceSettings):
  3. service_name: str = "team-service"
  4. service_port: int = 8009
  5. database_url: str = "sqlite:///./team_service.db"
  6. agent_service_url: str = "http://127.0.0.1:8007"
  7. agent_service_timeout_seconds: float = 30.0
  8. event_service_url: str = "http://127.0.0.1:8013"
  9. event_service_timeout_seconds: float = 5.0
  10. worker_poll_interval_seconds: float = 1.0
  11. worker_lease_seconds: int = 300
  12. worker_max_idle_cycles: int | None = None
  13. worker_dry_run: bool = True