Enable bp on clustering test

stricter_context_starting
Tyler Goodlet 2021-12-05 20:02:55 -05:00
parent 41a3e6a9ca
commit f3432bd8fb
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ MESSAGE = 'tractoring at full speed'
@tractor.context
async def worker(ctx: tractor.Context) -> None:
await ctx.started()
async with ctx.open_stream() as stream:
async with ctx.open_stream(backpressure=True) as stream:
async for msg in stream:
# do something with msg
print(msg)