asphalt: More information with timeout
Currently, when a component requests a resource that never comes, the application times out without any information as to which component failed to get the resource:
ERROR:asphalt.core.runner:Timeout waiting for the root component to start
I’m not sure if it’s currently possible to give more details. If not, it would be a great enhancement.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 21 (21 by maintainers)
I’ve been working on refactoring component initialization and I came to the realization that trying to redesign the component system around that requirement is probably a lost cause. I’m hacking it today and tomorrow and if the outcome is at least halfway sensible, I’ll commit it.
v5.0 is fully based on AnyIO and structured concurrency. I just need to deal with the component design issues before I can get that release out the door.