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

Method get_next_pending_task

lightx2v/server/task_manager.py:236–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 acquired = self._processing_lock.acquire(timeout=timeout if timeout else False)
235 if acquired:
236 with self._lock:
237 self._current_processing_task = task_id
238 logger.info(f"Task {task_id} acquired processing lock")
239 return acquired
240
241 def release_processing_lock(self, task_id: str):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected