fix: remove useless code
This commit is contained in:
parent
d3b700326d
commit
4fb03e3967
1 changed files with 0 additions and 2 deletions
|
@ -12,8 +12,6 @@ module DownloadManager
|
||||||
end
|
end
|
||||||
|
|
||||||
def download_all
|
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)
|
hydra = Typhoeus::Hydra.new(max_concurrency: DOWNLOAD_MAX_PARALLEL)
|
||||||
|
|
||||||
attachments.each do |attachment, path|
|
attachments.each do |attachment, path|
|
||||||
|
|
Loading…
Reference in a new issue