Use throttle period for wait-on-clearing-event timeout

epoch_index_backup
Tyler Goodlet 2022-11-17 18:25:46 -05:00
parent e7daf09a83
commit de1c0b1399
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ async def uniform_rate_send(
# we have a quote already so send it now. # we have a quote already so send it now.
with trio.move_on_after(1/60) as cs: with trio.move_on_after(throttle_period) as cs:
while ( while (
not set(ticks_by_type).intersection(clear_types) not set(ticks_by_type).intersection(clear_types)
): ):