Merge pull request #17464 from edx/mjfrey/rate-limit

increase limit for staff users
This commit is contained in:
Michael Frey
2018-02-13 14:08:46 -05:00
committed by GitHub

View File

@@ -76,7 +76,7 @@ class EnrollmentUserThrottle(UserRateThrottle, ApiKeyPermissionMixIn):
"""Limit the number of requests users can make to the enrollment API."""
THROTTLE_RATES = {
'user': '40/minute',
'staff': '600/minute',
'staff': '1200/minute',
}
def allow_request(self, request, view):