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

samplerd_service
Tyler Goodlet 2022-11-17 18:25:46 -05:00
parent 125e31dbf3
commit f2df32a673
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.
with trio.move_on_after(1/60) as cs:
with trio.move_on_after(throttle_period) as cs:
while (
not set(ticks_by_type).intersection(clear_types)
):