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
24b93aac
Commit
24b93aac
authored
Sep 27, 2021
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete PagesRemoveWorker
All calls to this worker were removed in the previous release
parent
c214bc54
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
40 deletions
+0
-40
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
app/workers/all_queues.yml
app/workers/all_queues.yml
+0
-9
app/workers/pages_remove_worker.rb
app/workers/pages_remove_worker.rb
+0
-16
config/sidekiq_queues.yml
config/sidekiq_queues.yml
+0
-2
spec/workers/every_sidekiq_worker_spec.rb
spec/workers/every_sidekiq_worker_spec.rb
+0
-1
spec/workers/pages_remove_worker_spec.rb
spec/workers/pages_remove_worker_spec.rb
+0
-11
No files found.
.rubocop_manual_todo.yml
View file @
24b93aac
...
...
@@ -1769,7 +1769,6 @@ Gitlab/NamespacedClass:
-
'
app/workers/pages_domain_ssl_renewal_worker.rb'
-
'
app/workers/pages_domain_verification_cron_worker.rb'
-
'
app/workers/pages_domain_verification_worker.rb'
-
'
app/workers/pages_remove_worker.rb'
-
'
app/workers/pages_transfer_worker.rb'
-
'
app/workers/pages_update_configuration_worker.rb'
-
'
app/workers/pages_worker.rb'
...
...
app/workers/all_queues.yml
View file @
24b93aac
...
...
@@ -2420,15 +2420,6 @@
:weight:
1
:idempotent:
:tags: []
-
:name: pages_remove
:worker_name: PagesRemoveWorker
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:weight:
1
:idempotent:
:tags: []
-
:name: pages_transfer
:worker_name: PagesTransferWorker
:feature_category: :pages
...
...
app/workers/pages_remove_worker.rb
deleted
100644 → 0
View file @
c214bc54
# frozen_string_literal: true
# TODO: remove this worker https://gitlab.com/gitlab-org/gitlab/-/issues/340641
class
PagesRemoveWorker
# rubocop:disable Scalability/IdempotentWorker
include
ApplicationWorker
data_consistency
:always
sidekiq_options
retry:
3
feature_category
:pages
loggable_arguments
0
def
perform
(
project_id
)
# no-op
end
end
config/sidekiq_queues.yml
View file @
24b93aac
...
...
@@ -273,8 +273,6 @@
-
1
-
-
pages_domain_verification
-
1
-
-
pages_remove
-
1
-
-
pages_transfer
-
1
-
-
pages_update_configuration
...
...
spec/workers/every_sidekiq_worker_spec.rb
View file @
24b93aac
...
...
@@ -366,7 +366,6 @@ RSpec.describe 'Every Sidekiq worker' do
'Packages::Rubygems::ExtractionWorker'
=>
3
,
'PagesDomainSslRenewalWorker'
=>
3
,
'PagesDomainVerificationWorker'
=>
3
,
'PagesRemoveWorker'
=>
3
,
'PagesTransferWorker'
=>
3
,
'PagesUpdateConfigurationWorker'
=>
3
,
'PagesWorker'
=>
3
,
...
...
spec/workers/pages_remove_worker_spec.rb
deleted
100644 → 0
View file @
c214bc54
# frozen_string_literal: true
require
'spec_helper'
RSpec
.
describe
PagesRemoveWorker
do
it
'does not raise error'
do
expect
do
described_class
.
new
.
perform
(
create
(
:project
).
id
)
end
.
not_to
raise_error
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