-
Notifications
You must be signed in to change notification settings - Fork 10
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
π₯ β¨ Add CLI to do DB cleanup #36
π₯ β¨ Add CLI to do DB cleanup #36
Conversation
garden-of-delete
commented
Mar 18, 2024
•
edited by realstraw
Loading
edited by realstraw
- π₯ moves the cleanup logic from scheduler to the new cleanup CLI.
after discussion, moving the cleanup tasks into its own service command to be triggered by cron. |
.sprinkler.yaml
Outdated
@@ -24,6 +24,9 @@ scheduler: | |||
# apiKeyName: "x-api-key" | |||
# apiKey: "changeme" | |||
|
|||
cleanup: | |||
scheduledWorkflowTimeout: "720h" |
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.
Let's do it like the following, and move the scheduler unlock in cleanup too.
cleanup:
# table names
scheduledWorkflow: "720h"
workflowSchedulerLock: "1h"
workflowActivationLock: "1h"
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.
done.