cleanup: remove dead code and duplicate docs
- Remove session-ses_2f27.md (161KB raw session log) - Remove 49 ROOT_* duplicate files across REFERENCE/ - Remove 14 duplicate files between REFERENCE/ root and history/ - Remove asr_legacy.rs (dead code, replaced by asr.rs) - Remove src/core/worker/ (duplicate JobWorker) - Remove src/core/layers/ (empty directory) - Remove 4 .bak files in src/ - Remove 7 dead private methods in worker/processor.rs - Remove backup directory from git tracking
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
|
||||
def run_test(script_name, description):
|
||||
@@ -50,7 +49,7 @@ def check_server_status():
|
||||
|
||||
response = requests.get("http://localhost:3002/health", timeout=5)
|
||||
if response.status_code == 200:
|
||||
print(f"✅ 生產服務器運行正常 (端口 3002)")
|
||||
print("✅ 生產服務器運行正常 (端口 3002)")
|
||||
return True
|
||||
else:
|
||||
print(f"❌ 生產服務器異常: {response.status_code}")
|
||||
@@ -63,7 +62,7 @@ def check_server_status():
|
||||
|
||||
response = requests.get("http://localhost:3003/health", timeout=5)
|
||||
if response.status_code == 200:
|
||||
print(f"✅ 開發服務器運行正常 (端口 3003)")
|
||||
print("✅ 開發服務器運行正常 (端口 3003)")
|
||||
return True
|
||||
else:
|
||||
print(f"❌ 開發服務器異常: {response.status_code}")
|
||||
@@ -100,7 +99,7 @@ def check_database():
|
||||
""")
|
||||
|
||||
tables = cursor.fetchall()
|
||||
print(f"✅ 數據庫連接正常")
|
||||
print("✅ 數據庫連接正常")
|
||||
print(f"✅ 找到 {len(tables)} 個人臉相關表:")
|
||||
for table in tables:
|
||||
print(f" - {table[0]}")
|
||||
|
||||
Reference in New Issue
Block a user