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

feat: add garbage collection #38

Merged
merged 3 commits into from
Jun 28, 2023
Merged

feat: add garbage collection #38

merged 3 commits into from
Jun 28, 2023

Conversation

raffis
Copy link
Member

@raffis raffis commented Jun 28, 2023

Current situation

There is no garbage collection implemented yet.

Proposal

Add support for garbage collection.
Notably the api specs for GrowthbookInstance now has a mandatory prune field.
If pruning is enabled at the time of resource deletion the resources are completely removed from the gb db.
However if pruning is disabled the resource are left untouched on the gb db.

@raffis raffis requested a review from a team as a code owner June 28, 2023 09:54
@raffis raffis merged commit 1741970 into master Jun 28, 2023
10 checks passed
@raffis raffis deleted the feat-garbage-collection branch June 28, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant