Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worker: fix deadlock when LoggingThread wrote into its own Queue
If self._hub.upload_task_log() called self._queue.put(), it would cause deadlock because 1. self._queue uses locks that are not reentrant. 2. it will block if the Queue is already full. Co-authored-by: Kamil Dudka <[email protected]> Co-authored-by: Lukáš Zaoral <[email protected]>
- Loading branch information