Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
390e8763
Commit
390e8763
authored
Aug 03, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused argument on Geo::FileDownloadDispatchWorker
parent
8efa421a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
app/workers/geo/file_download_dispatch_worker.rb
app/workers/geo/file_download_dispatch_worker.rb
+4
-5
No files found.
app/workers/geo/file_download_dispatch_worker.rb
View file @
390e8763
...
...
@@ -9,14 +9,13 @@ module Geo
end
def
load_pending_resources
restricted_project_ids
=
Gitlab
::
Geo
.
current_node
.
project_ids
lfs_object_ids
=
find_lfs_object_ids
(
restricted_project_ids
)
objects_ids
=
find_object_ids
(
restricted_project_ids
)
lfs_object_ids
=
find_lfs_object_ids
objects_ids
=
find_object_ids
interleave
(
lfs_object_ids
,
objects_ids
)
end
def
find_object_ids
(
restricted_project_ids
)
def
find_object_ids
downloaded_ids
=
find_downloaded_ids
([
:attachment
,
:avatar
,
:file
])
current_node
.
uploads
...
...
@@ -27,7 +26,7 @@ module Geo
.
map
{
|
id
,
uploader
|
[
id
,
uploader
.
sub
(
/Uploader\z/
,
''
).
downcase
]
}
end
def
find_lfs_object_ids
(
restricted_project_ids
)
def
find_lfs_object_ids
downloaded_ids
=
find_downloaded_ids
([
:lfs
])
current_node
.
lfs_objects
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment