diff --git a/server/index.js b/server/index.js index 1aa82ebfe..40c5b5712 100644 --- a/server/index.js +++ b/server/index.js @@ -155,7 +155,6 @@ io.on('connection', (socket) => { } else { console.log('No data available yet on connect, sending initial state.'); // Emit the flag from state manager - console.log('[index.js] State before emitting initialState:', stateManager.getState()); socket.emit('initialState', { loading: true, isConfigPlaceholder: currentPlaceholderStatus }); } @@ -172,7 +171,6 @@ io.on('connection', (socket) => { } else { console.log('No data available yet on request, sending loading state.'); // Emit the flag from state manager - console.log('[index.js] State before emitting initialState on request:', stateManager.getState()); socket.emit('initialState', { loading: true, isConfigPlaceholder: currentPlaceholderStatus }); // Optionally trigger an immediate discovery cycle? // runDiscoveryCycle(); // Be careful with triggering cycles on demand diff --git a/server/state.js b/server/state.js index c2f41b406..78a05ab4f 100644 --- a/server/state.js +++ b/server/state.js @@ -37,7 +37,6 @@ function hasData() { } function setConfigPlaceholderStatus(isPlaceholder) { - console.log(`[stateManager] Setting isConfigPlaceholder to: ${isPlaceholder}`); state.isConfigPlaceholder = isPlaceholder; }