lib/filbunke/client.rb in filbunke-1.5.2 vs lib/filbunke/client.rb in filbunke-1.5.3
- old
+ new
@@ -25,10 +25,10 @@
new_checkpoint = updates["checkpoint"]
@logger.log "Updating repository: #{repository.name}: #{updated_files.size} files. Checkpoint: #{last_checkpoint} ==> #{new_checkpoint}" if updated_files.size > 0
- @hydra = Typhoeus::Hydra.new
+ @hydra = Typhoeus::Hydra.new(:max_concurrency => 10)
@async_requests = []
updated_files.each do |raw_file|
file = File.new(raw_file)