Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Fixes timeout ms arg being erroneously passed to pubsub.peers #196

Merged
merged 2 commits into from
Jan 10, 2018

Conversation

alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Jan 8, 2018

...and removes the timeout...it shouldn't be required

Also fixes a typo I noticed in the pubsub spec.

@ghost ghost assigned alanshaw Jan 8, 2018
@ghost ghost added the in progress label Jan 8, 2018
ipfs2.pubsub.unsubscribe(topicOther, sub2)
ipfs3.pubsub.unsubscribe(topicOther, sub3)
done()
}, 10000)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

10000 is being passed to pubsub.peers not to setTimeout (which I believe is what was intended)

Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

Thanks @alanshaw :)

@daviddias daviddias merged commit 5822bcb into master Jan 10, 2018
@ghost ghost removed the in progress label Jan 10, 2018
@daviddias daviddias deleted the fix/pubsub-extra-peers-timeout branch January 10, 2018 19:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants