Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

Admin message

GitLab has been upgraded GitLab 16, please report any issues!

  • Legacy
  • TracTrac
  • Issues
  • #20579
Closed (moved) (moved)
Open
Issue created Nov 05, 2016 by teor@teor

TorCtl re-uses iterables, even though they only yield their items once

When TorCtl calls filter(), it often re-uses the iterable multiple times. But python iterables only yield each item once. To fix this, we need to turn iterables we want to re-use into a list, using list(filter()).

This might just be why a lot of nodes remain unmeasured, or measurement is unreliable. In our test network, it seems to have caused only 5-7/15 nodes to be measured.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking