视频请求不再做本地发车排队,直接进入取 token 并提交上游。
(
self,
token_id: Optional[int],
token_video_concurrency: Optional[int],
)
| 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 | """保留接口形状,当前无需释放任何本地发车状态。""" |
no outgoing calls
no test coverage detected