nexus writer devices info: "prepare.user_scan_meta" gets info from all counters, even those not in scan
in nexus_writer_service/subscribers/scan_writer_publish.py
:
devices = {}
for ctr in global_map.get_counters_iter():
_device_info_add_ctr(devices, ctr)
return devices
iteration is made on all counters, the problem is that some counters can belong to switched off devices, at least from devices not involved in the scan being done which lead to reports like:
get_counters_iter()
itself should be avoided, as the fact of going through all counters can be quite
slow.
Edited by Matias Guijarro