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

feat: Serializer pushes latest data first if configured to do so #365

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

de-sh
Copy link
Contributor

@de-sh de-sh commented Oct 13, 2024

Closes #

Design doc

Changes

When configured with the following configuration variable, serializer will push latest packet if it hasn't already before pushing older data in FIFO order from storage:

live_data_first = true

Why?

This will ensure that customers aren't frustrated by extremely slow data push, which makes it practically impossible to track the device.

Trials Performed

Added test to ensure Serializer working is as expected.

@de-sh de-sh requested a review from tekjar October 13, 2024 08:16
@de-sh de-sh merged commit ae325b5 into main Oct 14, 2024
1 of 2 checks passed
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.

1 participant