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

Follow up #501 and #511 with minor fixes #513

Merged
merged 2 commits into from
Oct 11, 2022
Merged

Conversation

borzunov
Copy link
Member

@borzunov borzunov commented Oct 11, 2022

@borzunov borzunov force-pushed the identity-shutdown-fixes branch from 39bd515 to fc952b3 Compare October 11, 2022 06:13
@@ -301,11 +298,10 @@ def shutdown(self):
self.checkpoint_saver.join()

self.dht.shutdown()
self.dht.join()
Copy link
Member Author

Choose a reason for hiding this comment

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

hivemind.DHT already calls .join() in shutdown().

@borzunov borzunov merged commit 13cdd13 into master Oct 11, 2022
@borzunov borzunov deleted the identity-shutdown-fixes branch October 11, 2022 15:10
mryab pushed a commit that referenced this pull request Oct 19, 2022
- In `hivemind.Server`, use the graceful shutdown for `ConnectionHandler`
- In `hivemind.P2P`, if we are the first peer, skip checking if the provided identity is free

(cherry picked from commit 13cdd13)
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