eduagarcia commited on
Commit
5a43136
1 Parent(s): 1841941

Unlimited request to HAS_HIGHER_RATE_LIMIT

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +1 -1
src/submission/check_validity.py CHANGED
@@ -98,7 +98,7 @@ def user_submission_permission(org_or_user, users_to_submission_dates, rate_limi
98
 
99
  num_models_submitted_in_period = len(submissions_after_timelimit)
100
  if org_or_user in HAS_HIGHER_RATE_LIMIT:
101
- rate_limit_quota = 2 * rate_limit_quota
102
 
103
  if num_models_submitted_in_period > rate_limit_quota:
104
  error_msg = f"Organisation or user `{org_or_user}`"
 
98
 
99
  num_models_submitted_in_period = len(submissions_after_timelimit)
100
  if org_or_user in HAS_HIGHER_RATE_LIMIT:
101
+ rate_limit_quota = 10000
102
 
103
  if num_models_submitted_in_period > rate_limit_quota:
104
  error_msg = f"Organisation or user `{org_or_user}`"