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
d5859bb9
Commit
d5859bb9
authored
Nov 01, 2017
by
micael.bergeron
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rework the UpdateMergeRequestsWorker#metrics_tags
parent
2b7e03cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/workers/update_merge_requests_worker.rb
app/workers/update_merge_requests_worker.rb
+2
-4
No files found.
app/workers/update_merge_requests_worker.rb
View file @
d5859bb9
...
@@ -2,10 +2,8 @@ class UpdateMergeRequestsWorker
...
@@ -2,10 +2,8 @@ class UpdateMergeRequestsWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
attr_reader
:metrics_tags
def
metrics_tags
@metrics_tags
||
{}
def
initialize
@metrics_tags
=
{}
end
end
def
perform
(
project_id
,
user_id
,
oldrev
,
newrev
,
ref
)
def
perform
(
project_id
,
user_id
,
oldrev
,
newrev
,
ref
)
...
...
Alain Takoudjou
@alain.takoudjou
mentioned in commit
7fd3ce41
·
Aug 21, 2018
mentioned in commit
7fd3ce41
mentioned in commit 7fd3ce417f50c6a5f4f4d852514e5f4f03945327
Toggle commit list
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