[PR #946] [MERGED] Remove the number of status notifications on disconnected peers #13176

Closed
opened 2026-08-05 02:07:40 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/946
Author: @mlsmaycon
Created: 6/9/2023
Status: Merged
Merged: 6/11/2023
Merged by: @mlsmaycon

Base: mainHead: remove-disconnected-notifications


📝 Commits (1)

  • 9af60dd Remove the number of status notifications on disconnected peers

📊 Changes

1 file changed (+14 additions, -2 deletions)

View changed files

📝 client/internal/peer/status.go (+14 -2)

📄 Description

Describe your changes

Only send notifications when disconnected once, at peer's IP update.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/946 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 6/9/2023 **Status:** ✅ Merged **Merged:** 6/11/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `remove-disconnected-notifications` --- ### 📝 Commits (1) - [`9af60dd`](https://github.com/netbirdio/netbird/commit/9af60dde950c1b3c319a0cd7b8a5e2eddb8b3047) Remove the number of status notifications on disconnected peers ### 📊 Changes **1 file changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/peer/status.go` (+14 -2) </details> ### 📄 Description ## Describe your changes Only send notifications when disconnected once, at peer's IP update. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:40 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13176