[PR #906] [MERGED] Add retry to sending signal message #14499

Closed
opened 2026-08-05 03:05:45 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/906
Author: @mlsmaycon
Created: 5/26/2023
Status: Merged
Merged: 5/26/2023
Merged by: @mlsmaycon

Base: mainHead: add-retry-to-signal-message


📝 Commits (4)

  • b405a05 Add retry to sending signal message
  • 6f976e0 fix multiplier and exit loop on client context termination
  • a0a6967 returning early if nil
  • bfef239 using the grpc client context

📊 Changes

1 file changed (+22 additions, -6 deletions)

View changed files

📝 signal/client/grpc.go (+22 -6)

📄 Description

Describe your changes

Increased the default send timeout from 2 to 5

Added a max of 4 retries with an increased timeout after the second attempt

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/906 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 5/26/2023 **Status:** ✅ Merged **Merged:** 5/26/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `add-retry-to-signal-message` --- ### 📝 Commits (4) - [`b405a05`](https://github.com/netbirdio/netbird/commit/b405a05de6d25f18d6336d1930ff36990c6b3950) Add retry to sending signal message - [`6f976e0`](https://github.com/netbirdio/netbird/commit/6f976e03ab65ceb1143acbcaad928632e71a63d3) fix multiplier and exit loop on client context termination - [`a0a6967`](https://github.com/netbirdio/netbird/commit/a0a6967d23f44fe82ffddcaf3ed9050fdeb81664) returning early if nil - [`bfef239`](https://github.com/netbirdio/netbird/commit/bfef239d1fdaebe61ef566617d90597ffd1311c6) using the grpc client context ### 📊 Changes **1 file changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `signal/client/grpc.go` (+22 -6) </details> ### 📄 Description ## Describe your changes Increased the default send timeout from 2 to 5 Added a max of 4 retries with an increased timeout after the second attempt ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] 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 03:05:45 -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#14499