fix(data): 重试财经快讯瞬时连接故障 - #151
Merged
Merged
Conversation
|
Review base: 88021d8 🤖 GLM-5.2 PR Review |
Deploying inalpha-web with
|
| Latest commit: |
92c9ece
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://aafb1ab3.inalpha-web.pages.dev |
| Branch Preview URL: | https://fix-cn-market-news-retry.inalpha-web.pages.dev |
mirror29
force-pushed
the
fix/cn-market-news-retry
branch
from
July 27, 2026 03:34
c4f56a7 to
a382689
Compare
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mirror29
force-pushed
the
fix/cn-market-news-retry
branch
from
July 27, 2026 03:43
a382689 to
92c9ece
Compare
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.
根因
生产机到东财快讯域名的 TLS 建连间歇超时。
CnMarketConnector._get_json()对第一次httpx.TransportError零重试,直接转换为 502。生产连续 5 次探测中 1 次成功、4 次握手超时;固定两个 DNS 地址后均能返回 200,说明是瞬时网络路径抖动,不是接口改版。修复
httpx.TransportError受控重试一次验证
ruff check通过services/data/tests/test_market.py: 17 passed🤖 Generated with Claude Code