Code cleanup and optimization - removed debug logs and comments
This commit is contained in:
@@ -117,7 +117,7 @@ io.on("connection", (socket) => {
|
||||
|
||||
if (cachedPrices && now - lastFetchTime < CACHE_DURATION) {
|
||||
socket.emit("data", cachedPrices);
|
||||
console.log(`[${now.toISOString()}]📦 Push Cached Data`);
|
||||
console.log(`📦 Push Cached Data at ${now.toISOString()}`);
|
||||
return;
|
||||
}
|
||||
// Get latest data
|
||||
|
||||
Reference in New Issue
Block a user