Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

fix: use pubsub seenCache #75

Merged
merged 1 commit into from
Apr 22, 2019

Conversation

wemeetagain
Copy link
Member

The inherited PubSubProtocol class already contains a time-cache for
latest seen messages. Use the existing cache instead of creating a
duplicate.

The inherited PubSubProtocol class already contains a time-cache for
latest seen messages. Use the existing cache instead of creating a
duplicate.
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks for this PR

@vasco-santos vasco-santos merged commit 19d9a96 into libp2p:master Apr 22, 2019
@wemeetagain wemeetagain deleted the fix/use-seen-cache branch April 22, 2019 14:21
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