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

Cleanup through generic cron reminders #266

Merged
merged 11 commits into from
Jun 24, 2024

Conversation

lm-sec
Copy link
Collaborator

@lm-sec lm-sec commented Jun 7, 2024

Adding generic cron reminders called alarms that can callback the jobs manager following a cron expression. It callback cleanup routes that address #263.

After this PR, findings will be stored for a year, and job runs for 14 days. Subscription triggers will have better cleanup on project/subscription deletion as well, reducing the need for a cleanup job.

…eneric cron reminders. Better cleanup for subscription triggers. Everything is thought to be eventually modified through the UI, so no env variables.
@lm-sec lm-sec added this to the Stalker 0.1.0 Beta milestone Jun 7, 2024
@lm-sec lm-sec self-assigned this Jun 7, 2024
Copy link
Collaborator

@Aboisier Aboisier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lm-sec lm-sec merged commit 6668cf9 into main Jun 24, 2024
4 checks passed
@lm-sec lm-sec deleted the cleanup_through_generic_cron_reminders branch June 24, 2024 21:17
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