ethereum / asyncio-run-in-process

A simple asyncio friendly replacement for multiprocessing to run coroutines in a separate process.
MIT License
13 stars 9 forks source link

Show issue with when proc uses run_in_executor #18

Closed gsalgado closed 4 years ago

gsalgado commented 4 years ago

I was trying to reproduce the issue I ran into on https://github.com/ethereum/trinity/pull/1701 but whereas there I get a RuntimeError and asyncio warning, here the test simply hangs forever

gsalgado commented 4 years ago

@pipermerriam any idea why that test hangs?

gsalgado commented 4 years ago

I believe it would be good to document this. What do you think about adding a "Gotchas" section to the documentation that explains this foot-gun/pit-fall/problem.

Yeah, I guess it makes sense