local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Throttling expires #160

Closed 10xSebastian closed 5 years ago

10xSebastian commented 5 years ago

Having throttling expire is kind of necessary, that's also why this PR is patching the version.

Otherwise, as soon as the throttling interceptor hits the break, he will never get out of the break state again, as no further request would be allowed, which would update the current quota.