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

bug 1762207: remove hang_type #6059

Merged
merged 1 commit into from Apr 4, 2022
Merged

bug 1762207: remove hang_type #6059

merged 1 commit into from Apr 4, 2022

Conversation

willkg
Copy link
Collaborator

@willkg willkg commented Apr 2, 2022

hang_type is based on Hang and HangID crash annotations which were
removed 10 years ago. This removes them from Socorro.

hang_type is based on Hang and HangID crash annotations which were
removed 10 years ago. This removes them from Socorro.
:arg crash_data: crash data structure that conforms to the schema

:returns: crashing thread as an int

"""
crashing_thread = 0
if crash_data.get("hang_type", None) != 1:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hang_type always ends up as 0. Thus this is always true and we can reduce it accordingly.

@willkg willkg merged commit 8fffe75 into mozilla-services:main Apr 4, 2022
@willkg willkg deleted the bug-1762207-hang branch April 5, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant