-
- Downloads
destination: record consecutive failures
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.
Showing
- DEPLOY.rst 2 additions, 0 deletionsDEPLOY.rst
- docs/source/examples/sbws.example.ini 6 additions, 1 deletiondocs/source/examples/sbws.example.ini
- docs/source/man_sbws.ini.rst 5 additions, 0 deletionsdocs/source/man_sbws.ini.rst
- sbws/core/scanner.py 6 additions, 3 deletionssbws/core/scanner.py
- sbws/globals.py 5 additions, 0 deletionssbws/globals.py
- sbws/lib/destination.py 51 additions, 2 deletionssbws/lib/destination.py
- tests/integration/lib/test_destination.py 38 additions, 0 deletionstests/integration/lib/test_destination.py
- tests/integration/lib/test_relayprioritizer.py 1 addition, 0 deletionstests/integration/lib/test_relayprioritizer.py
Loading
Please register or sign in to comment