[PR #3873] [CLOSED] feat(backoff): add BackoffUntilNil func in backoff #4850

Closed
opened 2026-05-05 14:49:58 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3873
Author: @wuqinqiang
Created: 12/21/2023
Status: Closed

Base: devHead: feat/add-backoffUntilNil


📝 Commits (2)

  • 2d4049d feat: add BackoffUntilNil func in backoff
  • 8467fbd fix: golangci-lint

📊 Changes

2 files changed (+24 additions, -5 deletions)

View changed files

📝 client/service.go (+2 -5)
📝 pkg/util/wait/backoff.go (+22 -0)

📄 Description

WHY

When loopLoginUntilSuccess is executed, it exits on success without using a channel. So add a new BackoffUntilNil function to handle this.
@https://github.com/fatedier/frp/issues/3860


🔄 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/fatedier/frp/pull/3873 **Author:** [@wuqinqiang](https://github.com/wuqinqiang) **Created:** 12/21/2023 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/add-backoffUntilNil` --- ### 📝 Commits (2) - [`2d4049d`](https://github.com/fatedier/frp/commit/2d4049d78ddf6cd143531190ae8eff6bd77ecf44) feat: add BackoffUntilNil func in backoff - [`8467fbd`](https://github.com/fatedier/frp/commit/8467fbd9e449d0fcf106fc48c7a5e39b7ae26020) fix: golangci-lint ### 📊 Changes **2 files changed** (+24 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/service.go` (+2 -5) 📝 `pkg/util/wait/backoff.go` (+22 -0) </details> ### 📄 Description ### WHY <!-- author to complete --> When loopLoginUntilSuccess is executed, it exits on success without using a channel. So add a new BackoffUntilNil function to handle this. @https://github.com/fatedier/frp/issues/3860 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:49:58 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4850
No description provided.