Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variant snapshots should be cleaned way more often #1717

Closed
MartinBelthle opened this issue Sep 1, 2023 · 0 comments · Fixed by #2173
Closed

Variant snapshots should be cleaned way more often #1717

MartinBelthle opened this issue Sep 1, 2023 · 0 comments · Fixed by #2173

Comments

@MartinBelthle
Copy link
Contributor

MartinBelthle commented Sep 1, 2023

Problem Statement

Currently, the function clear_snapshot which removes the snapshot directory (it contains the real files of a variant study) is only called in the auto_archive_service.py module.

Therefore, they are only cleaned once a while according to the field auto_archive_threshold_days : 60 days by default and 120 days for recette env. !!

Proposed Solution

Create a new field in the application.yaml which concerns only variants with a default value of something like 1 day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants