-
Notifications
You must be signed in to change notification settings - Fork 959
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
refactoring(share/p2p): remove TTL in pubsub #2023
refactoring(share/p2p): remove TTL in pubsub #2023
Conversation
Can you convert to draft @vgonkivs ? Let's test this first with testground. I'm not sure this resolves the issue. |
This won't help. Because we never rebroadcast messages in the current code via PubSub means, as we always return ValidarionIgnore. We always rebroadcast via manual Broadcast. After thinking about this for a while, I think the actual problem is that we send notifications to everyone, including to those from who we already received the notification. |
Yeap, I agree that it will not help, but we don't need TTL=0 anyway |
True, I agree that we can merge it as is. It does not fix the root problem, but it doesn't make it worse and removes a confusion configuration. |
@vgonkivs you can mark ready for review then, just change description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okya just update the description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fill me in about the root issue this was supposed to fix?
@vgonkivs, pls reference an issue this pr aimed to solve originally |
Overview
Return TTL back to the default value to avoid message duplication with the same msgID.
Checklist