Repository navigation
fix: 请求 20 秒无响应自动重试,仍失败按网络失败提示 - #24
Merged
Merged
Conversation
stqfdyr
added a commit
to monitor-probe/monitor-theme-default
that referenced
this pull request
Oct 6, 2026
- 请求 20 秒没有响应就中止并自动重发,最多 6 次:浏览器把请求发到一条已悄悄断开的连接上时(HTTP/1.1 下实测 300 秒后仍未返回),中止会关掉这条连接,下一次换池里的另一条,池里的死连接用完即成功。全部超时才提示「网络连接失败,稍后再试」。 - 读响应正文时中断(包括超时)同样按网络失败提示,不再显示「收到的不是状态数据」或浏览器的英文原文。 - 实时推送正在收数据时,同时发出的节点列表请求失败不再显示「网络连接失败」。 - 详情页读取历史数据失败时加「重试」。 - 与 serverstatus 的同名改动(monitor-probe/monitor-theme-serverstatus#24)一致。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.