[PR #2827] [CLOSED] [client] Refactor the worker callbacks to channel #20594

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2827
Author: @pappz
Created: 11/1/2024
Status: Closed

Base: mainHead: fix/async-pion-event-handling


📝 Commits (1)

  • b33c83c Refactor the worker callbacks to channel

📊 Changes

3 files changed (+103 additions, -53 deletions)

View changed files

📝 client/internal/peer/conn.go (+44 -24)
📝 client/internal/peer/worker_ice.go (+25 -11)
📝 client/internal/peer/worker_relay.go (+34 -18)

📄 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/2827 **Author:** [@pappz](https://github.com/pappz) **Created:** 11/1/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/async-pion-event-handling` --- ### 📝 Commits (1) - [`b33c83c`](https://github.com/netbirdio/netbird/commit/b33c83c3f8b084c901d709a15425134af24eeba6) Refactor the worker callbacks to channel ### 📊 Changes **3 files changed** (+103 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/peer/conn.go` (+44 -24) 📝 `client/internal/peer/worker_ice.go` (+25 -11) 📝 `client/internal/peer/worker_relay.go` (+34 -18) </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:07:28 -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#20594