From 4fb03e3967d203743498f75940c8c05296fd732e Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Wed, 22 May 2024 12:23:38 +0200 Subject: [PATCH] fix: remove useless code --- app/lib/download_manager/parallel_download_queue.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/lib/download_manager/parallel_download_queue.rb b/app/lib/download_manager/parallel_download_queue.rb index 35a6b8695..16dcbd762 100644 --- a/app/lib/download_manager/parallel_download_queue.rb +++ b/app/lib/download_manager/parallel_download_queue.rb @@ -12,8 +12,6 @@ module DownloadManager end def download_all - # TODO: arriver à enelver ce parametrage d'ActiveStorage - ActiveStorage::Current.url_options = { host: ENV.fetch("APP_HOST") } hydra = Typhoeus::Hydra.new(max_concurrency: DOWNLOAD_MAX_PARALLEL) attachments.each do |attachment, path|