Skip to content

Commit 5149a54

Browse files
pfalcondpgeorge
authored andcommitted
uasyncio: Update __init__() to take runq_len & waitq_len params.
1 parent 7e8a3cf commit 5149a54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uasyncio/uasyncio/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def set_debug(val):
1717

1818
class PollEventLoop(EventLoop):
1919

20-
def __init__(self, len=42):
21-
EventLoop.__init__(self, len)
20+
def __init__(self, runq_len=16, waitq_len=16):
21+
EventLoop.__init__(self, runq_len, waitq_len)
2222
self.poller = select.poll()
2323
self.objmap = {}
2424

0 commit comments

Comments
 (0)