Skip to content

Commit

Permalink
Remove proxy testing and dump all stdouts to console.
Browse files Browse the repository at this point in the history
  • Loading branch information
nepeat committed Jan 2, 2018
1 parent 2cbc1b8 commit 34ac78f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ def start
"--CircuitBuildTimeout #{circuit_build_timeout}",
"--DataDirectory #{data_directory}",
"--PidFile #{pid_file}",
"--Log \"warn syslog\"",
'--RunAsDaemon 1',
'--tor2web 1',
"| logger -t 'tor' 2>&1")
'--tor2web 1')
end
end

Expand Down Expand Up @@ -227,13 +225,6 @@ def compile_config
sleep 60

loop do
$logger.info "testing proxies"
proxies.each do |proxy|
$logger.info "testing proxy #{proxy.id} (port #{proxy.port})"
$logger.info "sleeping for #{tor_instances} seconds"
sleep Integer(tor_instances)
end

$logger.info "sleeping for 60 seconds"
sleep 60
end

0 comments on commit 34ac78f

Please sign in to comment.