lib/linsc/proxy_handler.rb in linsc-0.0.11 vs lib/linsc/proxy_handler.rb in linsc-0.0.12

- old
+ new

@@ -33,9 +33,12 @@ duration = Time.now - best_proxy.last_used sleep(@cooldown_time - duration) if duration < @cooldown_time best_proxy else puts "All proxies are dead. Wait a few hours before resuming." + @proxies.each do |proxy| + puts "ip: #{proxy.ip} .... pages before burnout: #{proxy.pages_before_burnout} .... time of burnout: #{proxy.burnout_time}" + end exit end end def length