mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update use of max repeaters to save mysql queries
This commit is contained in:
@@ -152,6 +152,7 @@ function poll_device($device, $options) {
|
||||
global $config, $device, $polled_devices, $db_stats, $memcache;
|
||||
|
||||
$attribs = get_dev_attribs($device['device_id']);
|
||||
$device['snmp_max_repeaters'] = $attribs['snmp_max_repeaters'];
|
||||
|
||||
$status = 0;
|
||||
unset($array);
|
||||
|
Reference in New Issue
Block a user