Skip to content
Snippets Groups Projects
Verified Commit 46e2c7b6 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

checker: Remove private API endpoint and do checks on celery worker

Checking deposit archives can be a costly operation as the checker
must download the archives to list their content.

It has been observed in production that if a large archive has been
uploaded with a deposit, requesting the check endpoint of the private
deposit API can end up with gunicorn worker being killed as the
time to download the archive exceeds the worker timeout.

So instead of using the private API endpoint performs the checks,
prefer to move these operations in the celery worker executing the
check-deposit task.

Fixes #4658.
parent 6141f333
No related branches found
No related tags found
No related merge requests found
Pipeline #13574 passed
Showing
with 801 additions and 735 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment