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

Fix accidental crash loop dedupe #2156

Merged
merged 2 commits into from
Dec 16, 2020
Merged

Fix accidental crash loop dedupe #2156

merged 2 commits into from
Dec 16, 2020

Conversation

ssalinas
Copy link
Member

This fixes an issue where, if a crash loop of the same type had just resolved, a new crash loop of that type could be missed. The previouslyActive.contains check was eating these due to the implementation of equals/hashCode on the CrashLoopInfo object. Changed that and the check to determine which are no longer active as well as adding start/end time to the equals and hash methods

@ssalinas ssalinas added the staging Merged to staging branch label Dec 16, 2020
@pschoenfelder
Copy link
Contributor

🚢

@ssalinas ssalinas merged commit 16f1a09 into master Dec 16, 2020
@ssalinas ssalinas deleted the crash_loop_dedupe branch December 16, 2020 15:48
@ssalinas ssalinas added this to the 1.4.0 milestone Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staging Merged to staging branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants