aaaand changed timing back, since it blocks the polling
This commit is contained in:
parent
b89ebeaf4f
commit
1fbb8a6ace
|
@ -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 -T2 ";
|
var nmap = "nmap -n -sP -T4 ";
|
||||||
|
|
||||||
redisClient.on("connect", function () {
|
redisClient.on("connect", function () {
|
||||||
console.log("connected to redis");
|
console.log("connected to redis");
|
||||||
|
|
Loading…
Reference in New Issue