(self)
| 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): |
nothing calls this directly
no test coverage detected