MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / _get_controller_target

Function _get_controller_target

lightx2v/disagg/workload.py:179–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178
179def _get_controller_target() -> tuple[str, int]:
180 host = os.getenv("DISAGG_CONTROLLER_HOST", "127.0.0.1")
181 port = int(os.getenv("DISAGG_CONTROLLER_REQUEST_PORT", str(REQUEST_POLLING_PORT - 2)))
182 return host, port
183
184
185def _send_to_controller(payload: dict[str, Any]) -> None:

Callers 2

_send_to_controllerFunction · 0.85
submit_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected