mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
commented logs
This commit is contained in:
parent
edcc957e64
commit
849eff9e5b
@ -132,7 +132,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
async notifyChangedStats(stats) {
|
||||
console.log('SENDING STATS', JSON.stringify(stats));
|
||||
// console.log('SENDING STATS', JSON.stringify(stats));
|
||||
const datastore = this.datastores[stats.jslid];
|
||||
if (datastore) await datastore.notifyChanged();
|
||||
socket.emit(`jsldata-stats-${stats.jslid}`, stats);
|
||||
|
@ -23,6 +23,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
emitChanged(key) {
|
||||
// console.log('EMIT CHANGED', key);
|
||||
this.emit('changed-cache', key);
|
||||
// this.emit(key);
|
||||
},
|
||||
|
@ -106,6 +106,7 @@ export async function unsubscribeCacheChange(reloadTrigger, cacheKey, reloadHand
|
||||
}
|
||||
|
||||
function dispatchCacheChange(reloadTrigger) {
|
||||
// console.log('CHANGE', reloadTrigger);
|
||||
cacheClean(reloadTrigger);
|
||||
|
||||
for (const item of getAsArray(reloadTrigger)) {
|
||||
|
Loading…
Reference in New Issue
Block a user