Problem/Motivation

Claude Opus 4.8:

return $log_json_count <= $rate_limit; (RateLimitPerUserValidator.php:103) returns "below limit" when the count equals the limit, so
  users get limit + 1 posts per interval. Minor on its own, but it shows the limit boundary is loose. Use <.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ptmkenny created an issue. See original summary.

ptmkenny’s picture

Title: Limit comparison has an off by one error » Rate limit checker has an off by one error

  • ptmkenny committed 791f0df0 on 1.0.x
    fix: #3605224 Rate limit checker has an off by one error
    
    By: ptmkenny
    
ptmkenny’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.