• 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
rack_attack_git_basic_auth.rb 577 Bytes