소스 검색

py3.7 compatibility

justheuristic 5 년 전
부모
커밋
fa4b0016ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tesseract/runtime/task_pool.py

+ 1 - 1
tesseract/runtime/task_pool.py

@@ -116,7 +116,7 @@ class TaskPool(TaskPoolBase):
         return batch_tasks
 
     def run(self, *args, **kwargs):
-        print(f'Starting pool, {os.getpid()=}')
+        print(f'Starting pool, pid={os.getpid()}')
         pending_batches = {}  # Dict[batch uuid, List[SharedFuture]] for each batch currently in runtime
         output_thread = threading.Thread(target=self._pool_output_loop, args=[pending_batches],
                                          name=f'{self.uid}-pool_output_loop')