[GH-ISSUE #832] 设置连接重试的延迟时间 #653

Closed
opened 2026-05-05 12:25:21 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghost on GitHub (Jun 19, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/832

我们可以手动设置重试超时吗? 目前,它似乎设置了20秒。这样的选择是否存在?谢谢

Originally created by @ghost on GitHub (Jun 19, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/832 我们可以手动设置重试超时吗? 目前,它似乎设置了20秒。这样的选择是否存在?谢谢
Author
Owner

@fatedier commented on GitHub (Jun 19, 2018):

目前不能设置,重连间隔为 1s, 2s, 4s ... 20s,上限是 20s,当网络短暂波动时可以快速恢复,当网络长期故障时重试间隔会变长。

<!-- gh-comment-id:398468314 --> @fatedier commented on GitHub (Jun 19, 2018): 目前不能设置,重连间隔为 1s, 2s, 4s ... 20s,上限是 20s,当网络短暂波动时可以快速恢复,当网络长期故障时重试间隔会变长。
Author
Owner

@ghost commented on GitHub (Jun 19, 2018):

你好,谢谢你的回应。 我会考虑为我的用例建立一个外部控制器。

<!-- gh-comment-id:398524084 --> @ghost commented on GitHub (Jun 19, 2018): 你好,谢谢你的回应。 我会考虑为我的用例建立一个外部控制器。
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#653
No description provided.