increase limit for staff users

This commit is contained in:
Michael Frey
2018-02-13 10:44:33 -05:00
parent 94f65768ee
commit ed54cdc1d9

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):