Set excessive dhcp request thresholds

This commit is contained in:
Akkadius 2017-09-15 07:25:55 -05:00
parent 8f146251cf
commit bad5989601
2 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@ router.get('/', function(req, res, next) {
var stat_data = dhcp_requests;
for (var key in stat_data) {
if(stat_data[key].request_count <= 1)
if(stat_data[key].request_count <= 100)
delete stat_data[key];
}

View File

@ -135,8 +135,6 @@
$.getJSON( "/api/get_dhcp_requests", function( data ) {
$.each(data, function(k, v) {
console.log(k);
$('#excessive_requests > tbody:last-child').append('<tr>' +
'<td>' + k + '</td>' +
'<td>' + data[k].request_for + '</td>' +