refactor torProvider: merge networkStatus and BootstrapStatus, simplify monitorRestart logic. Catch case due to magic numbers where it was not restarting tor when tor was killed #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "restart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm a derp. using magic numbers missed a -1 to -2 so torProvider wasn't restarting tor when it was dead. Fixed that and refactored a bit more:
tested again with cwtch ui
doesn't cycle tor when network-liveness reports down. does cycle tor when tor is
kill
edmanages restarts in both cases, either redetecting network up and resuming at 100 progress or restarting tor fully