mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #20455: Add a resolution attribute to IocpProactor (1 ms)
This commit is contained in:
parent
f2e1768bc1
commit
1506df2655
3 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,7 @@ class BaseProactorEventLoop(base_events.BaseEventLoop):
|
|||
self._selector = proactor # convenient alias
|
||||
self._self_reading_future = None
|
||||
self._accept_futures = {} # socket file descriptor => Future
|
||||
self._granularity = max(proactor.resolution, self._granularity)
|
||||
proactor.set_loop(self)
|
||||
self._make_self_pipe()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue