mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Removed repeating console.log(s)
This commit is contained in:
@@ -328,7 +328,7 @@ const CacheManager = (function() {
|
|||||||
.filter(key => isCacheKey(key))
|
.filter(key => isCacheKey(key))
|
||||||
.forEach(key => memoryCache.delete(key));
|
.forEach(key => memoryCache.delete(key));
|
||||||
|
|
||||||
console.log("Cache cleared successfully");
|
//console.log("Cache cleared successfully");
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1377,7 +1377,7 @@ const app = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
refreshAllData: async function() {
|
refreshAllData: async function() {
|
||||||
console.log('Price refresh started at', new Date().toLocaleTimeString());
|
//console.log('Price refresh started at', new Date().toLocaleTimeString());
|
||||||
|
|
||||||
if (app.isRefreshing) {
|
if (app.isRefreshing) {
|
||||||
console.log('Refresh already in progress, skipping...');
|
console.log('Refresh already in progress, skipping...');
|
||||||
@@ -1411,7 +1411,7 @@ refreshAllData: async function() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Starting refresh of all data...');
|
//console.log('Starting refresh of all data...');
|
||||||
app.isRefreshing = true;
|
app.isRefreshing = true;
|
||||||
app.updateNextRefreshTime();
|
app.updateNextRefreshTime();
|
||||||
ui.showLoader();
|
ui.showLoader();
|
||||||
@@ -1478,7 +1478,7 @@ refreshAllData: async function() {
|
|||||||
const cacheKey = `coinData_${coin.symbol}`;
|
const cacheKey = `coinData_${coin.symbol}`;
|
||||||
CacheManager.set(cacheKey, coinData, 'prices');
|
CacheManager.set(cacheKey, coinData, 'prices');
|
||||||
|
|
||||||
console.log(`Updated price for ${coin.symbol}: $${coinData.current_price}`);
|
//console.log(`Updated price for ${coin.symbol}: $${coinData.current_price}`);
|
||||||
|
|
||||||
} catch (coinError) {
|
} catch (coinError) {
|
||||||
console.warn(`Failed to update ${coin.symbol}: ${coinError.message}`);
|
console.warn(`Failed to update ${coin.symbol}: ${coinError.message}`);
|
||||||
@@ -1549,7 +1549,7 @@ refreshAllData: async function() {
|
|||||||
app.scheduleNextRefresh();
|
app.scheduleNextRefresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Refresh process finished at ${new Date().toLocaleTimeString()}, next refresh scheduled: ${app.isAutoRefreshEnabled ? 'yes' : 'no'}`);
|
//console.log(`Refresh process finished at ${new Date().toLocaleTimeString()}, next refresh scheduled: ${app.isAutoRefreshEnabled ? 'yes' : 'no'}`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user