Open
Description
Hi there 👋
Yesterday, I asked on trio's Gitter channel if there was a reason for the number of total_tokens
on the default CapacityLimiter
to be 40. @njsmith reply was:
And I guess it's a good number, as it's been there for five years. 😅 But... As he mentioned, it would be interesting to find an optimal number there.
The part of the code I'm talking about:
Lines 30 to 32 in f2e2dd2
I'm creating this issue mainly to see if we can come up with some ideas to have this optimal number there.
Ideas? 😅
References: