擅长:python、mysql、java
<p>默认情况下,Windows在asyncio循环中只能使用64个套接字。这是底层<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx" rel="nofollow noreferrer">select()</a>API调用的限制。在</p>
<p>要增加限制,请使用<code>ProactorEventLoop</code>。安装说明见<a href="https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.ProactorEventLoop" rel="nofollow noreferrer">here</a>。在</p>