diff --git a/system/Throttle/Throttler.php b/system/Throttle/Throttler.php index 1b6bf0bb789e..9c8314aab1f7 100644 --- a/system/Throttle/Throttler.php +++ b/system/Throttle/Throttler.php @@ -167,7 +167,7 @@ public function check(string $key, int $capacity, int $seconds, int $cost = 1): $tokens += $rate * $elapsed; $tokens = $tokens > $capacity ? $capacity : $tokens; - // If $tokens > 0, then we are safe to perform the action, but + // If $tokens >= 0, then we are safe to perform the action, but // we need to decrement the number of available tokens. if ($tokens >= 0) {