Skip to content

Fix random duplication and/or spamming by backup timer#38

Open
tomrhollis wants to merge 4 commits intoclvrk:masterfrom
tomrhollis:pr-backuptimer
Open

Fix random duplication and/or spamming by backup timer#38
tomrhollis wants to merge 4 commits intoclvrk:masterfrom
tomrhollis:pr-backuptimer

Conversation

@tomrhollis
Copy link
Contributor

Combined the two callbacks assigned to backupIntervalTimer. After that, I had trouble figuring out what was causing the issues and ended up doing a complete rewrite. Still had some issues where it seems timers were elapsing a few milliseconds before they should and seeing the time a few milliseconds away as the next backup time. Added a 2 second buffer. Now it seems to be perfect.

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