Skip to content

Commit

Permalink
lowered the 429 threshold to 20%
Browse files Browse the repository at this point in the history
  • Loading branch information
delic committed Dec 20, 2019
1 parent 2b92246 commit fa6f840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ffuf/job.go
Expand Up @@ -284,8 +284,8 @@ func (j *Job) CheckStop() {
}

}
if j.Config.StopOnAll && (float64(j.Count429)/float64(j.Counter) > 0.95) {
// Over 95% of requests are 429
if j.Config.StopOnAll && (float64(j.Count429)/float64(j.Counter) > 0.2) {
// Over 20% of responses are 429
j.Error = "Getting an unusual amount of 429 responses, exiting."
j.Stop()
}
Expand Down

0 comments on commit fa6f840

Please sign in to comment.