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

Use periodic task for heartbeats #2723

Merged
merged 21 commits into from
Aug 10, 2023
Merged

Use periodic task for heartbeats #2723

merged 21 commits into from
Aug 10, 2023

Conversation

iskhakov
Copy link
Contributor

@iskhakov iskhakov commented Aug 2, 2023

What this PR does

Which issue(s) this PR fixes

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@iskhakov iskhakov requested a review from a team August 2, 2023 07:29
Copy link
Contributor

@joeyorlando joeyorlando left a 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 Show resolved Hide resolved
Comment on lines 48 to 51
# 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)
Copy link
Contributor

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)

engine/apps/heartbeat/tasks.py Outdated Show resolved Hide resolved
@iskhakov iskhakov marked this pull request as draft August 2, 2023 08:50
iskhakov and others added 2 commits August 2, 2023 18:32
@iskhakov iskhakov marked this pull request as ready for review August 7, 2023 11:43
@iskhakov iskhakov added the pr:no public docs Added to a PR that does not require public documentation updates label Aug 7, 2023
@iskhakov iskhakov enabled auto-merge August 10, 2023 02:19
@iskhakov iskhakov added this pull request to the merge queue Aug 10, 2023
Merged via the queue into dev with commit fd19dd4 Aug 10, 2023
@iskhakov iskhakov deleted the iskhakov/fix-heartbeats branch August 10, 2023 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants