-
Notifications
You must be signed in to change notification settings - Fork 30
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
Combine Heartbeats #575
Combine Heartbeats #575
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
const mergedEvent: HeartbeatEvent = { | ||
...existingEvent, | ||
id: existingEvent.id, | ||
timestamp: Math.max(existingEvent.timestamp, newEvent.timestamp), |
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.
we talked about having another timestamp field to capture the original heartbeat. I like the idea of having timestamp
as the latest one. just need one that is set on the original event.
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 will be shipped in the next release. Thanks for the reminder
Description
Updated all dependencies and changed to have a single heartbeat event when multiple heartbeats are attempted to be sent.