Robot verification issue: Need to exceed the set limit twice to add the ip to the blacklist

Created on 10 August 2023, over 1 year ago
Updated 12 January 2024, over 1 year ago

Problem/Motivation

Robot verification issue: Need to exceed the set limit twice to add the ip to the blacklist

when I set the 1 minute threshold as 100, 1 hour threshold as 1000, and run test by Apache Jmeter click 101 like button.
the ip don't be block, need to click again, my ip will be add to table rate_bot_ip.

Steps to reproduce

It's easy to reproduce as above steps.

Proposed resolution

Change the ">" to ">=" in the judgment logic.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024