- Notifications
You must be signed in to change notification settings - Fork1k
feat: purge old provisioner daemons#10949
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
In the follow-up I try to cover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
If we're making changes to the core dbpurge logic then we should add tests first before merging. I'm working on adding these now.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Related:#10676
This PR extends
dbpurge
to delete provisioner daemons under the following conditions:updated_at
) 7 days ago or beforeThe feature should clean old provisioner daemon entries, seehttps://dev.coder.com/api/v2/organizations/703f72a1-76f6-4f89-9de6-8a3989693fe5/provisionerdaemons .
Other changes:
doTick
pattern