Skip to content

Commit

Permalink
chore: increase throttle rate for enterprise users
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Jul 24, 2024
1 parent 630ebc8 commit 4934358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course_discovery/apps/core/throttles.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def allow_request(self, request, view):

# If the user is not a privileged user, increase throttling rate if they are an enterprise user
if is_enterprise_user(request):
self.rate = '300/hour'
self.rate = '600/hour'

self.num_requests, self.duration = self.parse_rate(self.rate)

Expand Down

0 comments on commit 4934358

Please sign in to comment.