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

fix: remove stale entry in subscription map and update filter ping interval #1119

Merged

Conversation

chaitanyaprem
Copy link
Collaborator

While dogfooding filter, noticed that there is a stale entry left in subscriptions map if all subscriptions to a peer are unsubscribed. This was leading to sending un-necessary pings leading to 404 error.

Added logic to remove from the map.

Also, realized the fliter ping interval is too aggresive i.e 5 seconds and increased it to 1 minute.

@status-im-auto
Copy link

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 806a1e9 #1 2024-06-05 10:55:03 ~2 min nix-flake 📄log

@chaitanyaprem chaitanyaprem merged commit 234ab6a into fix/filter-cleanup-race Jun 5, 2024
11 checks passed
@chaitanyaprem chaitanyaprem deleted the fix/stale-subscription-entry branch June 5, 2024 16:14
chaitanyaprem added a commit that referenced this pull request Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants