forked from goodboy/tractor
1
0
Fork 0

Power of 2 cuz puters

wip_fix_asyncio_gen_streaming
Tyler Goodlet 2021-05-11 23:43:06 -04:00
parent 7d41492f53
commit 7b2543512c
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ class Actor:
try: try:
send_chan, recv_chan = self._cids2qs[(actorid, cid)] send_chan, recv_chan = self._cids2qs[(actorid, cid)]
except KeyError: except KeyError:
send_chan, recv_chan = trio.open_memory_channel(1000) send_chan, recv_chan = trio.open_memory_channel(2*10)
send_chan.cid = cid # type: ignore send_chan.cid = cid # type: ignore
recv_chan.cid = cid # type: ignore recv_chan.cid = cid # type: ignore
self._cids2qs[(actorid, cid)] = send_chan, recv_chan self._cids2qs[(actorid, cid)] = send_chan, recv_chan