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

Allow customize keep_archive for Uploader and Builder class in config.py #175

Open
newgene opened this issue Aug 2, 2021 · 0 comments
Open
Assignees

Comments

@newgene
Copy link
Member

newgene commented Aug 2, 2021

both BaseSourceUploader and DataBuilder have a keep_archive property (default is 10) for the number of old data builds to keep:

keep_archive = 10 # number of archived collection to keep. Oldest get dropped first.

keep_archive = 10 # number of archived collection to keep. Oldest get dropped first.

We should expose them as two separate config parameters for easier customization. Default of 10 is still fine.

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

No branches or pull requests

2 participants