HomeSoftware Heritage

swh.deposit.api: Add service to clean up temporary archives

Description

swh.deposit.api: Add service to clean up temporary archives

The retrieval of archives can temporarily build an archive from
multiple ones before sending its content to the client. As a result,
when retrieving a content, we leave in a temporary location an
archive. This temporary archive is referenced in a table
deposit_temporary_archive.

This adds a service which is in charge to poll regularly and delete
old temporary archives.

Details

Provenance
ardumontAuthored on Oct 6 2017, 3:07 PM
ardumontPushed on Oct 6 2017, 6:22 PM
Parents
rDDEP34757049031f: swh.deposit.api: Add private api to read a deposit's raw content
Branches
Unknown
Tags
Unknown