mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -191,6 +191,7 @@ class IocpProactor:
|
|||
self._cache = {}
|
||||
self._registered = weakref.WeakSet()
|
||||
self._stopped_serving = weakref.WeakSet()
|
||||
self.resolution = 1e-3
|
||||
|
||||
def set_loop(self, loop):
|
||||
self._loop = loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue