Always allow overruns in sampler context

Requires https://github.com/goodboy/tractor/pull/357.
Avoid overruns when doing concurrent live feed init over multiple
brokers.
master
Tyler Goodlet 2023-05-13 14:06:27 -04:00
parent a62283bae2
commit df96155057
1 changed files with 3 additions and 1 deletions

View File

@ -351,7 +351,9 @@ async def register_with_sampler(
if open_index_stream:
try:
async with ctx.open_stream() as stream:
async with ctx.open_stream(
allow_overruns=True,
) as stream:
if sub_for_broadcasts:
subs.add(stream)