added forced update debug info - only when the chart is in debug mode
Costa Tsaousis (ktsaou) committed
Dec 26, 2017 at 21:07 UTC
23b2fd8b0342393e2ca66386ea3f0d80a3615fad
1 file changed
+1
-1
web/dashboard.js
+1
-1
@@ -4836,7 +4836,7 @@ var NETDATA = window.NETDATA || {};
4836
4837
if(now - this.tm.last_autorefreshed >= data_update_every) {
4838
if(this.debug === true)
4839
- this.log('canBeAutoRefreshed(): It is time to update me.');
4839
+ this.log('canBeAutoRefreshed(): It is time to update me. Now: ' + now.toString() + ', last_autorefreshed: ' + this.tm.last_autorefreshed + ', data_update_every: ' + data_update_every + ', delta: ' + (now - this.tm.last_autorefreshed).toString());
4840
4841
return true;
4842
}