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

Make sure updates to Baragon state are synchronized and deduped #177

Merged
merged 1 commit into from
May 2, 2016

Conversation

jhaber
Copy link
Member

@jhaber jhaber commented Apr 27, 2016

@ssalinas @tpetr

Should prevent this from using lots of memory regardless of how fast updates are coming in. When the watcher is triggered, rather than processing the update it just adds the version to a queue and triggers someone else to process the queue. When that thread processes the queue, it drains all of the updates and only processes the last one, discarding the rest.

@ssalinas
Copy link
Member

👯 Thanks haber!

@ssalinas ssalinas modified the milestone: 0.3.0 Apr 28, 2016
@ssalinas ssalinas merged commit b41b809 into master May 2, 2016
@ssalinas ssalinas deleted the collapse-updates branch May 2, 2016 14:53
@ssalinas ssalinas removed the staging label May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants