• Heinrich Lee Yu's avatar
    Only check for blacklisted IPs on Git requests · 34635146
    Heinrich Lee Yu authored
    We block IP addresses when failed Git auths reach a certain
    threshold.
    
    This block applied to all requests so for every request, we
    had to check Redis to see if the IP is blocked. This caused
    unnecessary Redis load.
    
    This MR changes the block to only apply to Git requests as
    it is described in the documentation
    34635146
git_http_spec.rb 35.4 KB