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

Remove extended deadlock wait on macOS #1547

Merged
merged 2 commits into from
Dec 26, 2021

Conversation

JulianGro
Copy link
Contributor

This removes a weird workaround from HiFi times.
Whatever the reason for this was, it basically breaks crashpad for deadlocks because no one is going to sit around and wait 10 minutes for Interface to detect a deadlock when it is not responsive.
Two minutes already seems like quite a stretch in most cases.

@JulianGro JulianGro added housekeeping Code or documentation cleanup needs CR (code review) macos This is related to OSX and Mac. labels Dec 20, 2021
.github/workflows/pr_build.yml Outdated Show resolved Hide resolved
@@ -381,12 +381,7 @@ const std::vector<std::pair<QString, Application::AcceptURLMethod>> Application:
class DeadlockWatchdogThread : public QThread {
public:
static const unsigned long HEARTBEAT_UPDATE_INTERVAL_SECS = 1;
// TODO: go back to 2 min across the board, after figuring out the issues with mac
Copy link
Collaborator

Choose a reason for hiding this comment

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

hm I forget what this was for. there might have been issues on startup? or…shutdown?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whatever this was for, we don't know and the issue might not be a thing anymore. If there is a heartbeat taking over two minutes to complete, I feel like we should find out rather than just leaving it like this.

Conflicts:
	.github/workflows/pr_build.yml
@digisomni digisomni added CR Approved At least one code reviewer has approved the PR. needs testing (QA) The PR is ready for testing and removed needs CR (code review) labels Dec 23, 2021
@digisomni digisomni added this to the 2022.1.1 Selene Release milestone Dec 23, 2021
@digisomni digisomni added the rebuild rebuild through the GithubActions label Dec 24, 2021
@daleglass daleglass merged commit 08407b9 into vircadia:master Dec 26, 2021
@digisomni digisomni removed the needs testing (QA) The PR is ready for testing label Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR Approved At least one code reviewer has approved the PR. housekeeping Code or documentation cleanup macos This is related to OSX and Mac. rebuild rebuild through the GithubActions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants