Allow sampler step events to overrun; only 1s period

basic_buy_bot
Tyler Goodlet 2023-06-08 18:46:50 -04:00
parent c1201c164c
commit f8ab3bde35
1 changed files with 3 additions and 1 deletions

View File

@ -529,7 +529,9 @@ async def open_sample_stream(
assert len(first) > 1
async with (
ctx.open_stream() as istream,
ctx.open_stream(
allow_overruns=True,
) as istream,
# TODO: we DO need this task-bcasting so that
# for eg. the history chart update loop eventually