浏览代码

线程池使用默认max_workers

locky 1 年之前
父节点
当前提交
7126a241d7
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Object/GlobalThreadPoolObject.py

+ 0 - 1
Object/GlobalThreadPoolObject.py

@@ -29,7 +29,6 @@ class GlobalThreadPool:
                         max_workers = 100
 
                     cls._instance.executor = ThreadPoolExecutor(
-                        max_workers=max_workers,
                         thread_name_prefix="global-thread-pool"
                     )