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
history_view
Tyler Goodlet 2022-09-10 12:51:07 -04:00
parent 80929d080f
commit bcd6bbb7ca
1 changed files with 1 additions and 1 deletions

View File

@ -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()