• Stan Hu's avatar
    Rate limit archive endpoint by user · 1dd3748e
    Stan Hu authored
    This adds a user-specific rate limit for the repository archive
    endpoint:
    
    1. For anonymous users, the rate is 100 downloads/minute.
    2. For individual users, the rate is 5 downloads/minute.
    1dd3748e
rate_limit_helpers.rb 984 Bytes