From bcd6bbb7caa38928878f991bf860013316c976c5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 10 Sep 2022 12:51:07 -0400 Subject: [PATCH] Increase the `brokerd` mem-chan size Intention is to hopefully minimize (as many) context switches when processing (near-)HFT feeds - tho not sure if it's improving things that much XD --- piker/data/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/data/feed.py b/piker/data/feed.py index 13495178..66b540ee 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -906,7 +906,7 @@ async def allocate_persistent_feed( # mem chan handed to broker backend so it can push real-time # quotes to this task for sampling and history storage (see below). - send, quote_stream = trio.open_memory_channel(10) + send, quote_stream = trio.open_memory_channel(616) # data sync signals for both history loading and market quotes some_data_ready = trio.Event()