Sercomm SWPA's Harmonic CMTS Management System
Go to file
swpa 4437e4e3fa refactor(backend): 實施 Priority 1 核心穩定性升級與連線防護
- 實作設備級別鎖 (Per-Host Lock):將全域鎖改為 defaultdict(asyncio.Lock),大幅提升多人併發操作能力 (shared.py, config.py, backup.py)。
- 修復 Netmiko 連線洩漏:全面導入 try...finally 機制,確保發生異常時 disconnect() 絕對會被執行 (query.py, config.py)。
- 解除 Event Loop 阻塞:將解析樹狀圖等 CPU-Bound 任務移至 asyncio.to_thread 背景執行,防止 API 請求卡死 (config.py)。
- 強化 AsyncSSH 生命週期:於備份還原路由導入 async with Context Manager,確保 SSH 連線與 Process 絕對乾淨釋放 (backup.py)。
2026-05-31 14:24:10 +08:00
.continue/rules feat: 前端串流接收器 (Streaming UI) 2026-05-29 15:16:46 +08:00
.vscode chore: 調整Monica Code設定 2026-05-30 23:27:33 +08:00
routers refactor(backend): 實施 Priority 1 核心穩定性升級與連線防護 2026-05-31 14:24:10 +08:00
static fix(backup): 設備終端機分頁機制(Pagination)問題處理 2026-05-30 00:48:53 +08:00
.clineignore feat: 1.PostgreSQL 高可用性架構升級, 2.導入continue.dev與Roo Code偕同開發模式。 2026-05-21 16:57:45 +08:00
.clinerules feat: 前端串流接收器 (Streaming UI) 2026-05-29 15:16:46 +08:00
.gitignore chore: update .gitignore and ignore cache 2026-05-21 16:57:45 +08:00
PROJECT_STATE.md feat: 前端串流接收器 (Streaming UI) 2026-05-29 15:16:46 +08:00
all_code.txt chore: 將所有須一的程式碼寫入單一文字檔, 方便提供給Gemini AI分析。 2026-05-31 10:25:28 +08:00
cmts_scraper.py fix(backup): 設備終端機分頁機制(Pagination)問題處理 2026-05-30 00:48:53 +08:00
database.py feat(backup): 優化備份模組 UI 佈局與搜尋過濾防呆機制 2026-05-28 22:24:57 +08:00
index.html fix(backup): 設備終端機分頁機制(Pagination)問題處理 2026-05-30 00:48:53 +08:00
init_db.py feat: 實作 Phase 1 & 2 備份資料庫 Schema 與 API 路由 2026-05-25 16:40:55 +08:00
main.py feat: 實作 Phase 1 & 2 備份資料庫 Schema 與 API 路由 2026-05-25 16:40:55 +08:00
merge_code.py chore: 將所有須一的程式碼寫入單一文字檔, 方便提供給Gemini AI分析。 2026-05-31 10:25:28 +08:00
requirements.txt feat: 1.PostgreSQL 高可用性架構升級, 2.導入continue.dev與Roo Code偕同開發模式。 2026-05-21 16:57:45 +08:00
shared.py refactor(backend): 實施 Priority 1 核心穩定性升級與連線防護 2026-05-31 14:24:10 +08:00
test_scraper.py feat: 樹狀結構修整 & 各欄位提示資料建立與快取設計 2026-05-21 16:50:38 +08:00