Remove unused queues

This commit is contained in:
Douwe Maan 2017-12-13 16:14:49 +01:00
parent 3cad04cd51
commit 4a6ba82b28
3 changed files with 17 additions and 4 deletions

View File

@ -25,8 +25,6 @@
- [new_note, 2]
- [new_issue, 2]
- [new_merge_request, 2]
- [build, 2] # Replaced by pipeline
- [pipeline, 2] # Replaced by pipeline_*
- [pipeline_processing, 5]
- [pipeline_creation, 4]
- [pipeline_default, 3]
@ -43,7 +41,6 @@
- [repository_fork, 1]
- [repository_import, 1]
- [github_importer, 1]
- [github_importer_advance_stage, 1] # Replaced by github_import_advance_stage
- [github_import_advance_stage, 1]
- [project_service, 1]
- [delete_user, 1]

View File

@ -0,0 +1,16 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class MigrateGithubImporterAdvanceStageSidekiqQueue < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
sidekiq_queue_migrate 'github_importer_advance_stage', to: 'github_import_advance_stage'
end
def down
sidekiq_queue_migrate 'github_import_advance_stage', to: 'github_importer_advance_stage'
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171206221519) do
ActiveRecord::Schema.define(version: 20171213160445) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"