From 44ef26bb186514ae066a4a10473e259343b9cf50 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 31 Aug 2021 18:19:43 -0400 Subject: [PATCH] Shorten default feeder mem chan size to 64 --- tractor/_actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tractor/_actor.py b/tractor/_actor.py index 0dbaede..f84a597 100644 --- a/tractor/_actor.py +++ b/tractor/_actor.py @@ -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