forked from goodboy/tractor
1
0
Fork 0

Shorten default feeder mem chan size to 64

live_on_air_from_tokio
Tyler Goodlet 2021-08-31 18:19:43 -04:00
parent d9e793d4ba
commit 44ef26bb18
1 changed files with 1 additions and 1 deletions

View File

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