configureDormancy
If TorOption.DormantCanceledByStartup is not defined, it is added to the configuration with a value of true
. The default value for tor is false
, but that is very problematic as the for TorOption.DormantClientTimeout is 24 hours
. If the application is running for that long in a dormant state and a restart is performed (e.g. user closes app, opens it up again), then the next startup will sit there in dormant mode. Not a well-thought-out feature; this smooths it over while still providing choice.
This can be overridden by defining TorOption.DormantCanceledByStartup.