• Heinrich Lee Yu's avatar
    Skip redis call when IP is whitelisted · ff33c910
    Heinrich Lee Yu authored
    Calls to Rack::Attack::Allow2Ban.filter start by checking redis
    if the IP is currently banned. We do not need to call this at all
    if we know that the IP is whitelisted.
    ff33c910
git_http_spec.rb 35.4 KB