-
Notifications
You must be signed in to change notification settings - Fork 122
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 1828066 - At shutdown block with a timeout and bail out if that fails. #2461
Conversation
What happens in the bug?Crash report: https://crash-stats.mozilla.org/report/index/47e42dbc-f99c-474f-8154-bbf470230413#allthreads main thread hangs in thread thread thread This fixWe only briefly wait for the dispatcher queue to empty. If it currently is running a task that takes too long, we just skip any further shutdown cleanup. Guarantees? The 5s timeout is currently hardcoded. Should we make this compile-time/runtime configurable? |
968d39d
to
3288f48
Compare
3288f48
to
a389965
Compare
type: timing_distribution | ||
time_unit: millisecond | ||
description: | | ||
Time waited for the dispatcher to unblock during shutdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we've recently learned the benefit of knowing timeouts within wait timing distributions, perhaps include a note that we expect most samples to be less than the default timeout of 10s
a389965
to
4bae59a
Compare
No description provided.