Skip to content

Commit

Permalink
fix ipdiscover remove unused join accountinfo causing slowdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alacn1 committed May 29, 2024
1 parent 88cd1ba commit 9f803bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/main_sections/ms_ipdiscover/ms_ipdiscover.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@
FROM
netmap
LEFT JOIN
networks ON networks.macaddr = netmap.mac
LEFT JOIN
accountinfo ON accountinfo.TAG = netmap.TAG ";
networks ON networks.macaddr = netmap.mac ";
// adding LEFT JOINS for SNMP tables
if ($snmpTables) {
foreach($snmpTables as $snmpTable) {
Expand Down

0 comments on commit 9f803bd

Please sign in to comment.