-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore(deletions): Change schedule & date ranges #103897
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
Conversation
This is a follow-up to #103820. A failure to delete a group should be re-processed within 24 hours. Changes included: * Schedule re-processing task every 6 hours * Re-process groups pending deletion that are older than 6 hours rather than midnight from the day before
f863251 to
9c17b92
Compare
| "task": "deletions:sentry.tasks.delete_pending_groups", | ||
| # Runs every 2 hours during 9am-5pm Eastern Time (EST: UTC-5) | ||
| # 9am, 11am, 1pm, 3pm, 5pm EST = 14:00, 16:00, 18:00, 20:00, 22:00 UTC | ||
| "schedule": task_crontab("0", "14,16,18,20,22", "*", "*", "*"), |
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.
This was done so we could observe during work hours.
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.
When you switch schedules, you may miss an interval in the new schedule depending on when the last run was. But the schedule should align to the new schedule after that.
| "task": "deletions:sentry.tasks.delete_pending_groups", | ||
| # Runs every 2 hours during 9am-5pm Eastern Time (EST: UTC-5) | ||
| # 9am, 11am, 1pm, 3pm, 5pm EST = 14:00, 16:00, 18:00, 20:00, 22:00 UTC | ||
| "schedule": task_crontab("0", "14,16,18,20,22", "*", "*", "*"), |
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.
When you switch schedules, you may miss an interval in the new schedule depending on when the last run was. But the schedule should align to the new schedule after that.
This is a follow-up to #103820.
A failure to delete a group should be re-processed within 24 hours.
Changes included: