📚 Improved database structure & utils with new files for shm, wal, and enhanced debugging tools. 🆓

This commit is contained in:
2025-05-31 18:17:58 +02:00
parent 34692dbb32
commit d3f7d66112
10 changed files with 163 additions and 34 deletions

View File

@@ -148,10 +148,12 @@ def test_network_connectivity():
try:
if platform.system().lower() == "windows":
result = subprocess.run(['ping', '-n', '1', '-w', '3000', ip],
capture_output=True, text=True, timeout=5)
capture_output=True, text=True, timeout=5,
encoding='utf-8', errors='replace')
else:
result = subprocess.run(['ping', '-c', '1', '-W', '3', ip],
capture_output=True, text=True, timeout=5)
capture_output=True, text=True, timeout=5,
encoding='utf-8', errors='replace')
if result.returncode == 0:
log_message(f" ✅ Ping erfolgreich")