擅长:python、mysql、java
<p>我也有同样的问题。不能百分之百地确定它能正常工作,但请尝试替换它:</p>
<pre><code>session = aiohttp.ClientSession()
</code></pre>
<p>有了这个:</p>
^{pr2}$
<p>默认情况下,<code>limit</code>设置为100(<a href="http://aiohttp.readthedocs.io/en/stable/client_reference.html#tcpconnector" rel="nofollow noreferrer">docs</a>),这意味着客户端一次可以同时打开100个连接。正如Andrew提到的,Windows一次只能打开64个套接字,所以我们提供一个小于64的数字。在</p>