BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
4b998239
Commit
4b998239
authored
Feb 26, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add plugin queue to sidekiq config [ci skip]
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3337130e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
sidekiq_queues.yml
config/sidekiq_queues.yml
+1
-0
plugin.rb
lib/gitlab/plugin.rb
+3
-3
plugins.rake
lib/tasks/plugins.rake
+5
-0
No files found.
config/sidekiq_queues.yml
View file @
4b998239
...
...
@@ -68,3 +68,4 @@
-
[
project_migrate_hashed_storage
,
1
]
-
[
storage_migrator
,
1
]
-
[
pages_domain_verification
,
1
]
-
[
plugin
,
1
]
lib/gitlab/plugin.rb
View file @
4b998239
...
...
@@ -7,9 +7,9 @@ module Gitlab
end
def
self
.
execute_all_async
(
data
)
files
.
each
do
|
file
|
PluginWorker
.
perform_async
(
file
,
data
)
end
args
=
files
.
map
{
|
file
|
[
file
,
data
]
}
PluginWorker
.
bulk_perform_async
(
args
)
end
def
self
.
execute
(
file
,
data
)
...
...
lib/tasks/plugins.rake
View file @
4b998239
...
...
@@ -13,4 +13,9 @@ namespace :plugins do
end
end
end
desc
'Validate existing plugins'
task
validate_async: :environment
do
Gitlab
::
Plugin
.
execute_all_async
(
Gitlab
::
DataBuilder
::
Push
::
SAMPLE_DATA
)
end
end
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