Discovered devices are polled for ARP and MAC immediately

This commit is contained in:
Oliver Gorwits
2014-11-19 22:05:34 +00:00
parent 59a53b2c65
commit d91ee66634
2 changed files with 6 additions and 7 deletions

View File

@@ -11,6 +11,7 @@
* [#170] Show device SNMP::Info class in web interface
* [#133] Custom reports respect sorting in SQL
* Add "Run Expire Job" to the Admin Menu
* Discovered devices are polled for ARP and MAC immediately
[BUG FIXES]

View File

@@ -957,13 +957,11 @@ sub discover_new_neighbors {
next;
}
# Don't queue if job already exists
if (List::MoreUtils::none {$_ eq $ip} jq_queued('discover')) {
jq_insert({
device => $ip,
action => 'discover',
});
}
jq_insert({
device => $ip,
action => 'discover',
subaction => 'with-nodes',
});
}
}