list() here isn't redundant: _evict() pops from self._connections, so iterating the dict directly would raise 'changed size during iteration'. NOSONAR + comment explaining why, per Sonar's own suppression convention already used in ingestor/app.py.
5.4 KiB
5.4 KiB