Remove useless assignment to variable downloaded_ids

parent 5e665d98
...@@ -108,8 +108,8 @@ class GeoFileDownloadDispatchWorker ...@@ -108,8 +108,8 @@ class GeoFileDownloadDispatchWorker
end end
def find_downloaded_ids(file_types) def find_downloaded_ids(file_types)
downloaded_lfs_ids = Geo::FileRegistry.where(file_type: file_types).pluck(:file_id) downloaded_ids = Geo::FileRegistry.where(file_type: file_types).pluck(:file_id)
downloaded_lfs_ids = (downloaded_lfs_ids + scheduled_ids(file_types)).uniq (downloaded_ids + scheduled_ids(file_types)).uniq
end end
def update_jobs_in_progress def update_jobs_in_progress
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment