Merge remote-tracking branch 'origin/dev' into sub_laptop_3
This commit is contained in:
@@ -75,8 +75,11 @@ def run_calc(ids: Sequence[str], inputs: dict[str, Any]) -> dict[str, Any] | Non
|
||||
unknown = [item for item in ids if item not in NODE_IDS]
|
||||
if unknown:
|
||||
raise ValueError(f"Node 실행기 아닌 id: {', '.join(unknown)}")
|
||||
output = run_bundle_json(BUNDLE, NPM_SCRIPT, {"run": list(ids), "inputs": inputs})
|
||||
return output.get("results") if isinstance(output, dict) else None
|
||||
# 늘 떠 있는 Node(511-B B-4 · 부름당 새 프로세스 0.1~0.2 s 덞) · 못 띄우면 새 프로세스 한 번
|
||||
answer = _SERVED.call({"run": list(ids), "inputs": inputs})
|
||||
if answer is None:
|
||||
answer = run_bundle_json(BUNDLE, NPM_SCRIPT, {"run": list(ids), "inputs": inputs})
|
||||
return answer.get("results") if isinstance(answer, dict) else None
|
||||
|
||||
|
||||
class _Served:
|
||||
|
||||
Reference in New Issue
Block a user