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

Prevent handling duplicate fitbit notifications #35

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

caarmen
Copy link
Owner

@caarmen caarmen commented Aug 6, 2023

Don't handle a notification for a user if we already got one within the last 10 seconds.

Rename last_processed_notification_per_user to last_processed_withings_notification_per_user, since we now have to do this for both withings and fitbit.

Don't handle a notification for a user if we already got one within the last 10 seconds.
@caarmen caarmen requested a review from BoD August 6, 2023 17:32
Copy link
Collaborator

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@caarmen caarmen merged commit 0739e35 into main Aug 6, 2023
@caarmen caarmen deleted the prevent-duplicate-fitbit-notifications branch August 6, 2023 17:33
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.

2 participants