-
Notifications
You must be signed in to change notification settings - Fork 297
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
Use periodic task for heartbeats #2723
Conversation
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.
just a few minor comments/questions.
engine/apps/heartbeat/models.py
Outdated
# Deprecated. This field is not used. TODO: remove it | ||
last_checkup_task_time = models.DateTimeField(default=None, null=True) | ||
# Deprecated. Stored the latest scheduled `integration_heartbeat_checkup` task id. TODO: remove it | ||
actual_check_up_task_id = models.CharField(max_length=100) |
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.
would it be safe to simply drop these two fields in this PR? Or at a minimum remove them from the model without dropping them from the db, so that a subsequent PR we can drop them? (Vadim docs have more info on this)
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
What this PR does
Which issue(s) this PR fixes
Checklist
pr:no public docs
PR label added if not required)CHANGELOG.md
updated (orpr:no changelog
PR label added if not required)