Set excessive dhcp request thresholds
This commit is contained in:
parent
8f146251cf
commit
bad5989601
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
@ -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>' +
|
||||
|
|
Loading…
Reference in New Issue