Don't enable debug mode..it borks CI

tokio_backup
Tyler Goodlet 2021-08-19 13:55:16 -04:00
parent a27aca070e
commit 4461e3e34f
1 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,9 @@ from tractor._broadcast import broadcast_receiver, Lagged
@tractor.context @tractor.context
async def echo_sequences( async def echo_sequences(
ctx: tractor.Context, ctx: tractor.Context,
) -> None: ) -> None:
'''Bidir streaming endpoint which will stream '''Bidir streaming endpoint which will stream
back any sequence it is sent item-wise. back any sequence it is sent item-wise.
@ -108,9 +110,8 @@ def test_ensure_slow_consumers_lag_out(
''' '''
async def main(): async def main():
async with tractor.open_root_actor( # make sure it all works within the runtime
debug_mode=True, async with tractor.open_root_actor():
):
num_laggers = 4 num_laggers = 4
laggers: dict[str, int] = {} laggers: dict[str, int] = {}