Commit 9aa5fd46 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Bug 20890: Increase control port connection timeout

On slow computers, it can take longer than 30 seconds for Tor Launcher
to connect to the tor control port. Increase the timeout to 5 minutes.
parent 462e9722
......@@ -38,8 +38,8 @@ TorProcessService.prototype =
kWizardProgressPageID: "progress",
kInitialControlConnDelayMS: 25,
kMaxControlConnRetryMS: 500,
kControlConnTimeoutMS: 30000, // Wait at most 30 seconds for tor to start.
kMaxControlConnRetryMS: 2000, // Retry at least every 2 seconds.
kControlConnTimeoutMS: 5*60*1000, // Wait at most 5 minutes for tor to start.
kStatusUnknown: 0, // Tor process status.
kStatusStarting: 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment