should read the nmap manual about the T param. Using normal timing now.
This commit is contained in:
parent
97a07163f2
commit
e80ef9ae6f
|
@ -10,7 +10,7 @@ var IpPoll = function(switchaddr, hostsaddr) {
|
||||||
|
|
||||||
var redisClient = redis.createClient();
|
var redisClient = redis.createClient();
|
||||||
var regexp = /\(([0-9]+) hosts* up\)/;
|
var regexp = /\(([0-9]+) hosts* up\)/;
|
||||||
var nmap = "nmap -n -sP -T4 ";
|
var nmap = "nmap -n -sP ";
|
||||||
|
|
||||||
redisClient.on("connect", function () {
|
redisClient.on("connect", function () {
|
||||||
console.log("connected to redis");
|
console.log("connected to redis");
|
||||||
|
|
Loading…
Reference in New Issue