Return the in-memory subnet scan log (newest last).
()
| 5245 | try: |
| 5246 | limit = max(1, min(200, int(shared_data.config.get('mesh_findings_limit', 40)))) |
| 5247 | except (TypeError, ValueError): |
| 5248 | limit = 40 |
| 5249 | port = _mesh_node_port() |
| 5250 | fresh = {} |
| 5251 | for peer in peers: |
| 5252 | if not (health.get(peer['id']) or {}).get('reachable'): |
| 5253 | continue |
| 5254 | payload = mesh_manager.poll_peer(peer, port=port, timeout=timeout, |
| 5255 | path=f'/api/mesh/findings?limit={limit}') |
| 5256 | if payload.get('reachable'): |
| 5257 | fresh[peer['id']] = { |
nothing calls this directly
no test coverage detected