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

set default config value to 30 days #175

Merged
merged 1 commit into from
Dec 31, 2022
Merged

set default config value to 30 days #175

merged 1 commit into from
Dec 31, 2022

Conversation

ankurk91
Copy link
Contributor

@ankurk91 ankurk91 commented Dec 31, 2022

Hi @freekmurze

The prunable feature was added in PR #166

The delete_after_days value is set to null by default, and end user is required to set this value in their project.
This PR sets the default value to 30 days. This will reduce the steps to setup the ModelPrune command.

Have a default value for delete_after_days is harmless, because it is not effective/used unless developer configures the schedule their-self.

Thanks.

@freekmurze freekmurze merged commit 52dc98e into spatie:main Dec 31, 2022
@freekmurze
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants