2569718930@qq.com
|
1494db8e09
|
maximize Cloudflare edge caching
|
2026-06-10 19:11:58 +08:00 |
|
2569718930@qq.com
|
38c6cefb27
|
Direct resync stale SSE clients
|
2026-05-31 21:48:09 +08:00 |
|
2569718930@qq.com
|
a3df2e00dc
|
Clamp SSE replay window on backend
|
2026-05-31 21:33:35 +08:00 |
|
2569718930@qq.com
|
573768846e
|
feat: implement real-time SSE event architecture with Redis stream integration and add associated validation tests
|
2026-05-27 11:03:04 +08:00 |
|
2569718930@qq.com
|
645e304b3e
|
feat: implement SSE-based real-time event distribution system with replay support and heartbeat functionality
|
2026-05-26 22:27:55 +08:00 |
|
2569718930@qq.com
|
777b7465b7
|
SSE CORS 修复:EventSource 跨域 + preflight OPTIONS
- sse_router: 显式加 Access-Control-Allow-Origin + Allow-Credentials,新增 OPTIONS
- use-sse-patches: CORS 失败自动切 BFF 代理降级
|
2026-05-26 11:15:41 +08:00 |
|
2569718930@qq.com
|
23882ac1ef
|
SSE Patch 增量推送架构全链路实现
- web/sse_manager.py: asyncio.Queue 连接池 + broadcast + event_stream
- web/routers/sse_router.py: GET /api/events + POST /api/internal/collector-patch
- weather_sources.py: 采集后 POST patch 给 web
- Nginx polyweather.conf: /api/events proxy_buffering off
- frontend/api/events/route.ts: Next.js SSE 代理
- frontend/hooks/use-sse-patches.ts: EventSource + useLatestPatch + 重连
- LiveTemperatureThresholdChart: mergePatchIntoHourly 增量合并
- scan-terminal-query: 接入 SSE patch 更新行数据
- 新增 ssePatchArchitecture.test.ts 架构测试
|
2026-05-26 10:39:17 +08:00 |
|