小编edj*_*ams的帖子

从current.futures使用ThreadPoolExecutor时,max_workers的数量是多少?

在决定从current.futures在ThreadPoolExecutor中将max_workers设置为什么时,应考虑哪些因素?

只要您可以期望Python 3.5+可用,是否有任何理由不将max_workers设置为None,然后将“默认设置为计算机上的处理器数量乘以5”,如此处的文档所述? https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor

python python-3.x concurrent.futures

13
推荐指数
1
解决办法
4054
查看次数

标签 统计

concurrent.futures ×1

python ×1

python-3.x ×1