Closed
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Right now every time we call wait_for_future
we construct a new Tokio Runtime which involves creating threads and other heavy weight tasks. This impacts performance.
Describe the solution you'd like
I'd like to create a Tokio Runtime once during the _internal
module creation and reuse it. I have a PR I'm working on to do this.
Describe alternatives you've considered
Keep code as is and make a runtime often.