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 deadlock in managed tp's updateStatus #700

Conversation

Darkren
Copy link
Contributor

@Darkren Darkren commented Feb 26, 2021

Did you run make format && make check?
Yes
Fixes #692

Changes:

  • Fixed deadlock which caused visor going offline in hypervisor UI

How to test this PR:

  1. Run visor with VPN server, visor with VPN client and visor with hypervisor on 3 different machines
  2. Prepare another machine to access hypervisor UI, access the visors page
  3. Start VPN client with killswitch
  4. Update visors page, and right after it gets loaded, remove transport from the VPN server side
  5. Wait like 20-30 seconds, visor should stay online in the UI

@Darkren Darkren changed the title [WIP] Fix deadlock in managed tp's updateStatus Fix deadlock in managed tp's updateStatus Feb 26, 2021
@jdknives jdknives merged commit 19d88de into skycoin:develop Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants