lib/kindai/spread_downloader.rb in kindai-2.0.0 vs lib/kindai/spread_downloader.rb in kindai-2.1.0
- old
+ new
@@ -54,10 +54,10 @@
Kindai::Util.logger.warn "failed (#{failed_count+1}/#{self.retry_count}) #{err.class}: #{err.message}"
raise err if failed_count == self.retry_count
Kindai::Util.logger.info "sleep and retry"
failed_count += 1
- sleep 30
+ sleep 20
retry
end
end
end