Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 831
    • Issues 831
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #3198

Closed
Open
Created May 16, 2011 by Roger Dingledine@armaReporter

Try refetching bridge descriptors each second, not each ten seconds

Currently we only call fetch_bridge_descriptors() from main.c inside the "time_to_try_getting_descriptors < now" clause, which happens every 10 or 60 seconds depending on whether we 'have enough dir info'.

I think that schedule is fine for normal descriptors (because we're trying to batch requests), but I think for bridge descriptors we could retry every second without much harm and with some benefit.

In particular, when we setconf a new bridge, we currently need to wait 10ish or 60ish seconds before we'll even start its descriptor download (see legacy/trac#2355 (moved)).

I'd originally thought to call fetch_bridge_descriptors() from inside options_act() as a special case, but now I think we should just call it every second. (It looks through a smartlist, does a download_status_is_ready() check on each entry, and returns.)

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