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
..
2026-05-26 10:39:17 +08:00
2026-05-26 05:20:36 +08:00
2026-05-26 02:53:05 +08:00
2026-05-25 20:23:44 +08:00
2026-05-10 15:48:18 +08:00
2026-05-25 21:15:14 +08:00
2026-05-25 19:42:06 +08:00
2026-05-26 10:39:17 +08:00
2026-05-26 09:46:36 +08:00
2026-05-25 19:42:06 +08:00
2026-05-25 01:50:41 +08:00
2026-05-25 20:53:03 +08:00
2026-05-25 22:51:53 +08:00
2026-05-26 10:39:17 +08:00
2026-05-25 03:45:04 +08:00
2026-05-25 05:58:15 +08:00
2026-05-25 22:27:02 +08:00
2026-04-28 14:45:34 +08:00
2026-05-26 10:39:17 +08:00
2026-05-25 00:16:53 +08:00
2026-05-25 03:23:10 +08:00