Max out per symbol throttle @ 22Hz

multi_symbol_input
Tyler Goodlet 2022-11-22 13:21:15 -05:00
parent 03821fdf6f
commit 69ea296a9b
1 changed files with 7 additions and 4 deletions

View File

@ -625,14 +625,14 @@ def graphics_update_cycle(
chart.update_graphics_from_flow(
fqsn,
# chart.name,
do_append=do_append,
# do_append=do_append,
)
main_flow.draw_last(array_key=fqsn)
hist_chart.update_graphics_from_flow(
fqsn,
# chart.name,
do_append=do_append,
# do_append=do_append,
)
# NOTE: we always update the "last" datum
@ -882,7 +882,7 @@ def graphics_update_cycle(
curve_name,
array_key=curve_name,
# do_append=uppx < update_uppx,
do_append=do_append,
# do_append=do_append,
)
# is this even doing anything?
# (pretty sure it's the real-time
@ -1118,7 +1118,10 @@ async def display_symbol_data(
# limit to at least display's FPS
# avoiding needless Qt-in-guest-mode context switches
tick_throttle=round(_quote_throttle_rate/len(fqsns)),
tick_throttle=min(
round(_quote_throttle_rate/len(fqsns)),
22,
),
) as feed: