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
d9c72cac
Commit
d9c72cac
authored
Nov 21, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move repository update mirror jobs to project_mirror Sidekiq jobs
parent
007947f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/workers/repository_update_mirror_dispatch_worker.rb
app/workers/repository_update_mirror_dispatch_worker.rb
+1
-1
app/workers/repository_update_mirror_worker.rb
app/workers/repository_update_mirror_worker.rb
+1
-1
No files found.
app/workers/repository_update_mirror_dispatch_worker.rb
View file @
d9c72cac
...
...
@@ -3,7 +3,7 @@ class RepositoryUpdateMirrorDispatchWorker
LEASE_TIMEOUT
=
5
.
minutes
sidekiq_options
queue: :
gitlab_shell
sidekiq_options
queue: :
project_mirror
attr_accessor
:project
,
:repository
,
:current_user
...
...
app/workers/repository_update_mirror_worker.rb
View file @
d9c72cac
...
...
@@ -5,7 +5,7 @@ class RepositoryUpdateMirrorWorker
include
Gitlab
::
ShellAdapter
# Retry not neccessary. It will try again at the next update interval.
sidekiq_options
queue: :
gitlab_shell
,
retry:
false
sidekiq_options
queue: :
project_mirror
,
retry:
false
attr_accessor
:project
,
:repository
,
:current_user
...
...
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