[PR #3096] [CLOSED] send all peer updates in a separate go routine #21506

Open
opened 2026-08-05 05:08:36 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3096
Author: @pascal-fischer
Created: 12/20/2024
Status: Closed

Base: mainHead: fix/update-peers-in-routine


📝 Commits (10+)

  • d73491a send all peer updates in a separate go routine
  • 1a4a9d5 run accountPeerUpdate not in go routine
  • 56e7dc0 use last good submodule branch
  • 88abb9b move lock
  • 3988a8c run 10x
  • 7e0cfa2 Merge remote-tracking branch 'origin/multi-price' into fix/update-peers-in-routine
  • 8a58200 remove early unlock
  • b50a23f disable geolocation lookup
  • 0a5bd01 remove early unlock
  • d19f721 remove lock from add peer

📊 Changes

11 files changed (+298 additions, -341 deletions)

View changed files

📝 .github/workflows/golang-test-linux.yml (+1 -0)
📝 README.md (+1 -0)
📝 client/internal/engine.go (+1 -1)
📝 management/proto/management.pb.go (+243 -256)
📝 management/proto/management.proto (+0 -2)
📝 management/server/account.go (+13 -14)
📝 management/server/grpcserver.go (+8 -9)
📝 management/server/http/handlers/accounts/accounts_handler.go (+3 -4)
📝 management/server/peer.go (+28 -48)
📝 management/server/store/file_store.go (+0 -2)
📝 management/server/types/settings.go (+0 -5)

📄 Description

Describe your changes

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/3096 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 12/20/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/update-peers-in-routine` --- ### 📝 Commits (10+) - [`d73491a`](https://github.com/netbirdio/netbird/commit/d73491a125dd7959bf0ff0217554c722aa08b9ec) send all peer updates in a separate go routine - [`1a4a9d5`](https://github.com/netbirdio/netbird/commit/1a4a9d5bd90f73153a46b7db1defdddb7fde223f) run accountPeerUpdate not in go routine - [`56e7dc0`](https://github.com/netbirdio/netbird/commit/56e7dc05e8e5b82b1b31caa8b01142050069e5ce) use last good submodule branch - [`88abb9b`](https://github.com/netbirdio/netbird/commit/88abb9bead7221820b47e49be69ad38af8f03d2e) move lock - [`3988a8c`](https://github.com/netbirdio/netbird/commit/3988a8c356ba703f9779f29477b118ecf62d593a) run 10x - [`7e0cfa2`](https://github.com/netbirdio/netbird/commit/7e0cfa2cee8bfc45643c0211da4cc410d248546b) Merge remote-tracking branch 'origin/multi-price' into fix/update-peers-in-routine - [`8a58200`](https://github.com/netbirdio/netbird/commit/8a58200d3c0084058d50956550da9fd0953bbe47) remove early unlock - [`b50a23f`](https://github.com/netbirdio/netbird/commit/b50a23fdfd74318f67abb1b72c18ca6c9a3e2c11) disable geolocation lookup - [`0a5bd01`](https://github.com/netbirdio/netbird/commit/0a5bd0179820692618cedb0f01b25707db8bcf8a) remove early unlock - [`d19f721`](https://github.com/netbirdio/netbird/commit/d19f72179b9b3e5afe8698773fd668dc55efb1f6) remove lock from add peer ### 📊 Changes **11 files changed** (+298 additions, -341 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golang-test-linux.yml` (+1 -0) 📝 `README.md` (+1 -0) 📝 `client/internal/engine.go` (+1 -1) 📝 `management/proto/management.pb.go` (+243 -256) 📝 `management/proto/management.proto` (+0 -2) 📝 `management/server/account.go` (+13 -14) 📝 `management/server/grpcserver.go` (+8 -9) 📝 `management/server/http/handlers/accounts/accounts_handler.go` (+3 -4) 📝 `management/server/peer.go` (+28 -48) 📝 `management/server/store/file_store.go` (+0 -2) 📝 `management/server/types/settings.go` (+0 -5) </details> ### 📄 Description ## Describe your changes ## 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 05:08:36 -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#21506