Commit a27d9c6f authored by David Mendez's avatar David Mendez

Merge branch 'staging' into 'master'

Make job progress update endpoint have no rate limit

See merge request !28
parents c134421a c813bf6b
......@@ -42,7 +42,7 @@ def get_job_input(job_id, input_key):
@token_required_for_job_id
@validate_url_params_with(marshmallow_schemas.JobStatus)
@validate_form_with(marshmallow_schemas.JobStatusUpdate)
@RATE_LIMITER.limit(RUN_CONFIG.get('rate_limit').get('rates').get('job_progress_update'))
@RATE_LIMITER.exempt
def update_job_progress(job_id):
try:
progress = int(request.form.get('progress'))
......
......@@ -105,7 +105,6 @@ DEFAULT_RATE_LIMIT = {
'default_for_all_routes': '3 per second',
'admin_login': '3 per second',
'job_submission': '10 per minute',
'job_progress_update': '30 per second',
},
'storage_url': 'memory://'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment