@cryptotaxi247 / netdata-1 / commits / 3f29bb43a

properly reset charts after max time of refreshes; fixes #1631

Costa Tsaousis (ktsaou) committed Feb 12, 2017 at 01:10 UTC 3f29bb43a52cf50904932b154d9f91483e157b3d
2 files changed +3 -2
web/dashboard.js
+2 -1
@@ -3139,7 +3139,8 @@ var NETDATA = window.NETDATA || {};
3139 if(this.debug === true)
3140 this.log('max updates of ' + this.updates_since_last_creation.toString() + ' reached. Forcing re-generation.');
3141
3142 - this.chart_created = false;
3142 + init();
3143 + return;
3144 }
3145
3146 // check and update the legend
web/index.html
+1 -1
@@ -3427,4 +3427,4 @@
3427 </div>
3428 </body>
3429 </html>
3430 -<script type="text/javascript" src="dashboard.js?v20170211-1"></script>
3430 +<script type="text/javascript" src="dashboard.js?v20170211-2"></script>