Enable bp on clustering test
parent
41a3e6a9ca
commit
f3432bd8fb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue