Source code for ralph.mcp.server._mcp_restart_policy
"""McpRestartPolicy — bounded restart policy for the MCP server bridge."""
from __future__ import annotations
from dataclasses import dataclass
[docs]
@dataclass(frozen=True)
class McpRestartPolicy:
"""Bounded restart policy for the MCP server bridge."""
max_restarts: int = 1000
__all__ = ["McpRestartPolicy"]