From a5826e6e220169f91320222685a997ea7631aefe Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 6 May 2021 16:37:56 -0400 Subject: [PATCH] Up the kb event queue size --- piker/ui/_event.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piker/ui/_event.py b/piker/ui/_event.py index 889f4e34..3d056d43 100644 --- a/piker/ui/_event.py +++ b/piker/ui/_event.py @@ -64,7 +64,8 @@ async def open_key_stream( ) -> trio.abc.ReceiveChannel: - send, recv = trio.open_memory_channel(1) + # 1 to force eager sending + send, recv = trio.open_memory_channel(16) kc = KeyCloner() kc._send_chan = send