You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this throttler composable/chainable? Can I wrap one in another?
In other words: Can I use this in some layered fashion that implements both a N per second throttle but also a M per minute throttle?
For example: No more than 3 concurrent requests per second and no more than 100 requests per minute.
I think the answer is "no" but maybe there's a clean way of combining/layering/composing this that could yield such functionality?
I love how simple this implementation is and I don't want to complicate it with such features, but if a chain of these can be used to implement such functionality, that would be awesome. I'm just not experienced enough at Python to see how to.
The text was updated successfully, but these errors were encountered:
Is this throttler composable/chainable? Can I wrap one in another?
In other words: Can I use this in some layered fashion that implements both a N per second throttle but also a M per minute throttle?
For example: No more than 3 concurrent requests per second and no more than 100 requests per minute.
I think the answer is "no" but maybe there's a clean way of combining/layering/composing this that could yield such functionality?
I love how simple this implementation is and I don't want to complicate it with such features, but if a chain of these can be used to implement such functionality, that would be awesome. I'm just not experienced enough at Python to see how to.
The text was updated successfully, but these errors were encountered: