You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My assumption has been that you wouldn't mix IOLoop and asyncio event loop control methods in the same app: you could use IOLoop.run_sync instead of asyncio.run, but in that case you'd rely on the asyncio lifecycle instead of Tornado's. Asyncio doesn't have an all_fds=True equivalent, but I'd expect that if you're relying on that you'd use the ioloop methods instead of asyncio.run. Is there some reason you can't either use the IOLoop methods here or avoid relying on all_fds=True? (If you need this functionality we should look into getting it added to asyncio - I want to eventually phase out all usage of IOLoop)
I've been using the following function to run the
distributed
test suite:Which has worked great with non-overlapping calls to
IOLoop.current()
, however I recently introduced an overlapping call, which results in a KeyError:https://github.com/dask/distributed/actions/runs/5475797836/jobs/9972404903#step:19:2420
@bdarnell could you catch the KeyError so that I can run
AbstractEventLoop.close()
thenIOLoop.close()
?The text was updated successfully, but these errors were encountered: