Max out per symbol throttle @ 22Hz

multichartz_backup
Tyler Goodlet 2022-11-22 13:21:15 -05:00
parent ffb058fef3
commit 1a594fd219
1 changed files with 7 additions and 4 deletions

View File

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