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 networknode shutdown issues #4688

Merged
merged 3 commits into from Oct 23, 2020

Conversation

chimp1984
Copy link
Contributor

Fixes #4687

Reduce tor starutp time from 20-30 to about 5 sec.
Fix shutdown issues with sig int (was leading to not terminated java process - specially bad at seed nodes)

Delay the boolean property setter as otherwise our listener might never
get triggered if property is set synchronously before listener registration.
Remove shutdown thread.
Cancel future in case tor is not created yet.
This has caused the slow tor startup of about 20-30 sec. Without that it is about 5 sec.
@sqrrm sqrrm merged commit 87bf30b into bisq-network:master Oct 23, 2020
@chimp1984 chimp1984 deleted the fix-networknode-shutdown-issues branch October 23, 2020 19:48
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.

Tor startup too slow in Bisq app
2 participants