Page MenuHomePhabricator

Throttler does not respect the value of warningLimit
Open, Needs TriagePublicBUG REPORT

Description

When looking at the Throttler class for T375500, I found that the warningLimit property is not respected. This is because the count never increases after throttling is occurring, and the count is used as the value to compare against for the warning limit.

Steps to replicate the issue
  1. Make more than 50 failed login attempts in a short space of time
  2. Open up the log

What happens?:
The 51st log is logged at the "log" level

What should have happened instead?:
The 51st log should be logged as a warning, and not at the "log" level