Skip to content

Commit f20e89e

Browse files
JohanDevlclaude
andcommitted
fix: disable WebSocket reconnection loops that consume app performance
- Commented out initializeWebSocket() in app.js to stop infinite WebSocket connection attempts - WebSocket endpoints (/ws/status, /ws/export) return 501 Not Implemented but client was trying to reconnect every 5 seconds - This was causing performance issues with continuous failed connection attempts to ws://192.168.1.24:8089/ws/status - WebSocket functionality can be re-enabled when server-side implementation is added 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7d79327 commit f20e89e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/static/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ document.addEventListener('DOMContentLoaded', function() {
66
});
77

88
function initializeApp() {
9-
// Initialize WebSocket connection for real-time updates
10-
initializeWebSocket();
9+
// WebSocket disabled - not implemented on server side
10+
// initializeWebSocket();
1111

1212
// Initialize auto-refresh for dynamic content
1313
initializeAutoRefresh();

0 commit comments

Comments
 (0)