Code cleanup and optimization - removed debug logs and comments

This commit is contained in:
Lam Hoi Fung
2025-11-12 16:34:53 +08:00
parent d8a6075fc8
commit 0dbdf6660f

View File

@@ -117,7 +117,7 @@ io.on("connection", (socket) => {
if (cachedPrices && now - lastFetchTime < CACHE_DURATION) { if (cachedPrices && now - lastFetchTime < CACHE_DURATION) {
socket.emit("data", cachedPrices); socket.emit("data", cachedPrices);
console.log(`[${now.toISOString()}]📦 Push Cached Data`); console.log(`📦 Push Cached Data at ${now.toISOString()}`);
return; return;
} }
// Get latest data // Get latest data