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

[switch] Clear dialing queues when switch is shutting down #432

Closed
jacobheun opened this issue Dec 17, 2018 · 1 comment
Closed

[switch] Clear dialing queues when switch is shutting down #432

jacobheun opened this issue Dec 17, 2018 · 1 comment

Comments

@jacobheun
Copy link
Contributor

Currently when the switch is shutting down the dialing queues are not cleared. When the switch is shutting down we should clear the pending dials queue, and then abort all in progress dials. This will help prevent unwanted behavior when a node is shutting down / "stopped".

Depends on https://github.com/libp2p/interface-transport/issues/43, aborting in progress dials.
Relates to https://github.com/libp2p/js-libp2p-switch/issues/281

@daviddias daviddias changed the title Clear dialing queues when switch is shutting down [switch] Clear dialing queues when switch is shutting down Aug 22, 2019
@daviddias daviddias transferred this issue from libp2p/js-libp2p-switch Aug 22, 2019
maschad pushed a commit to maschad/js-libp2p that referenced this issue Jun 21, 2023
@wemeetagain
Copy link
Member

This should be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants