diff --git a/rate_limiter.rst b/rate_limiter.rst index a99c01191af..6ace5a6af67 100644 --- a/rate_limiter.rst +++ b/rate_limiter.rst @@ -249,10 +249,11 @@ the number of requests to the API:: // RateLimitExceededException if the limit has been reached // $limiter->consume(1)->ensureAccepted(); + // to reset the counter + // $limiter->reset(); + // ... } - - // ... } .. note::