MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _acquire_video_launch_gate

Method _acquire_video_launch_gate

src/services/flow_client.py:1030–1036  ·  view source on GitHub ↗

视频请求不再做本地发车排队,直接进入取 token 并提交上游。

(
        self,
        token_id: Optional[int],
        token_video_concurrency: Optional[int],
    )

Source from the content-addressed store, hash-verified

1028 return
1029
1030 async def _acquire_video_launch_gate(
1031 self,
1032 token_id: Optional[int],
1033 token_video_concurrency: Optional[int],
1034 ) -> tuple[bool, int, int]:
1035 """视频请求不再做本地发车排队,直接进入取 token 并提交上游。"""
1036 return True, 0, 0
1037
1038 async def _release_video_launch_gate(self, token_id: Optional[int]):
1039 """保留接口形状,当前无需释放任何本地发车状态。"""

Calls

no outgoing calls

Tested by

no test coverage detected