فهرست منبع

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')