@kenny seems like a reasonable near term approach.
When you have free time, curious about your thoughts on the real solution.
Implicit creds fetch to a separate pool?
Separate pool for creds fetch is a half solution too. I suppose you could have arbitrarily nested cred fetching that needs to run.
Returning a channel would probably fix this entirely, but I’m assuming there’s a reason it’s run in a thread.
It does return a channel - we're just putting on that channel in a thread from that pool. Making that async/thread
is my first instinct. So it's obviously wrong 😉 If you have an opinion about that, I'm all ears. Also want to hear from @ghadi.