Skip to content
  • juga's avatar
    destination: record consecutive failures · 84e5d82c
    juga authored
    Add methods to store consecutive destination failures and retrieve
    the destinations that are still functional.
    Since destinations can fail because of Tor circuits, it's not count
    individual failures but consecutives one.
    Also exit with error if there are no functional destinations left.
    The maximum number of consecuitve failures is set to 10, but it
    may need to be changed depending on the percentage of circuits and
    requests that fail.
    84e5d82c