lib/globetrotter.rb in globetrotter-0.0.4 vs lib/globetrotter.rb in globetrotter-0.0.5
- old
+ new
@@ -11,10 +11,10 @@
def initialize(options = {})
@ns_max_age_minutes = options.fetch(:ns_max_age_minutes, 60)
@ns_count_to_check = options.fetch(:ns_count_to_check, 100)
@timeout_seconds = options.fetch(:timeout_seconds, 2)
@query = options.fetch(:query, 'googleapis.com')
- @concurrency = options.fetch(:concurrency, 100)
+ @concurrency = options.fetch(:concurrency, 10)
@ns_ips = fetch_ns_ips
end
def run
ns_count = @ns_ips.count