MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / DaemonConfig

Class DaemonConfig

code_review_graph/daemon.py:63–76  ·  view source on GitHub ↗

Top-level daemon configuration.

Source from the content-addressed store, hash-verified

61
62@dataclass
63class DaemonConfig:
64 """Top-level daemon configuration."""
65
66 session_name: str = "crg-watch"
67 """Logical daemon name (used in log messages and status output)."""
68
69 log_dir: Path = field(default_factory=lambda: Path.home() / ".code-review-graph" / "logs")
70 """Directory for per-repo log files."""
71
72 poll_interval: int = 2
73 """Seconds between file-system polls for config changes."""
74
75 repos: list[WatchRepo] = field(default_factory=list)
76 """Repositories the daemon watches."""
77
78
79# ---------------------------------------------------------------------------

Calls

no outgoing calls