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
7e87626a
Commit
7e87626a
authored
Jun 27, 2018
by
gfyoung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string for app/workers/**/*.rb
Partially addresses #47424.
parent
87f7597a
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
51 additions
and
0 deletions
+51
-0
app/workers/ci/archive_traces_cron_worker.rb
app/workers/ci/archive_traces_cron_worker.rb
+2
-0
app/workers/ci/build_trace_chunk_flush_worker.rb
app/workers/ci/build_trace_chunk_flush_worker.rb
+2
-0
app/workers/concerns/application_worker.rb
app/workers/concerns/application_worker.rb
+2
-0
app/workers/concerns/cluster_applications.rb
app/workers/concerns/cluster_applications.rb
+2
-0
app/workers/concerns/cluster_queue.rb
app/workers/concerns/cluster_queue.rb
+2
-0
app/workers/concerns/cronjob_queue.rb
app/workers/concerns/cronjob_queue.rb
+2
-0
app/workers/concerns/exception_backtrace.rb
app/workers/concerns/exception_backtrace.rb
+2
-0
app/workers/concerns/gitlab/github_import/queue.rb
app/workers/concerns/gitlab/github_import/queue.rb
+2
-0
app/workers/concerns/mail_scheduler_queue.rb
app/workers/concerns/mail_scheduler_queue.rb
+2
-0
app/workers/concerns/new_issuable.rb
app/workers/concerns/new_issuable.rb
+2
-0
app/workers/concerns/object_storage_queue.rb
app/workers/concerns/object_storage_queue.rb
+2
-0
app/workers/concerns/pipeline_background_queue.rb
app/workers/concerns/pipeline_background_queue.rb
+2
-0
app/workers/concerns/pipeline_queue.rb
app/workers/concerns/pipeline_queue.rb
+2
-0
app/workers/concerns/project_import_options.rb
app/workers/concerns/project_import_options.rb
+2
-0
app/workers/concerns/project_start_import.rb
app/workers/concerns/project_start_import.rb
+2
-0
app/workers/concerns/repository_check_queue.rb
app/workers/concerns/repository_check_queue.rb
+2
-0
app/workers/concerns/waitable_worker.rb
app/workers/concerns/waitable_worker.rb
+2
-0
app/workers/mail_scheduler/issue_due_worker.rb
app/workers/mail_scheduler/issue_due_worker.rb
+2
-0
app/workers/mail_scheduler/notification_service_worker.rb
app/workers/mail_scheduler/notification_service_worker.rb
+2
-0
app/workers/object_storage/background_move_worker.rb
app/workers/object_storage/background_move_worker.rb
+2
-0
app/workers/repository_check/batch_worker.rb
app/workers/repository_check/batch_worker.rb
+2
-0
app/workers/repository_check/clear_worker.rb
app/workers/repository_check/clear_worker.rb
+2
-0
app/workers/repository_check/single_repository_worker.rb
app/workers/repository_check/single_repository_worker.rb
+2
-0
changelogs/unreleased/frozen-string-enable-app-workers-2.yml
changelogs/unreleased/frozen-string-enable-app-workers-2.yml
+5
-0
No files found.
app/workers/ci/archive_traces_cron_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
Ci
class
ArchiveTracesCronWorker
include
ApplicationWorker
...
...
app/workers/ci/build_trace_chunk_flush_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
Ci
class
BuildTraceChunkFlushWorker
include
ApplicationWorker
...
...
app/workers/concerns/application_worker.rb
View file @
7e87626a
# frozen_string_literal: true
Sidekiq
::
Worker
.
extend
ActiveSupport
::
Concern
module
ApplicationWorker
...
...
app/workers/concerns/cluster_applications.rb
View file @
7e87626a
# frozen_string_literal: true
module
ClusterApplications
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/cluster_queue.rb
View file @
7e87626a
# frozen_string_literal: true
##
# Concern for setting Sidekiq settings for the various Gcp clusters workers.
#
...
...
app/workers/concerns/cronjob_queue.rb
View file @
7e87626a
# frozen_string_literal: true
# Concern that sets various Sidekiq settings for workers executed using a
# cronjob.
module
CronjobQueue
...
...
app/workers/concerns/exception_backtrace.rb
View file @
7e87626a
# frozen_string_literal: true
# Concern for enabling a few lines of exception backtraces in Sidekiq
module
ExceptionBacktrace
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/gitlab/github_import/queue.rb
View file @
7e87626a
# frozen_string_literal: true
module
Gitlab
module
GithubImport
module
Queue
...
...
app/workers/concerns/mail_scheduler_queue.rb
View file @
7e87626a
# frozen_string_literal: true
module
MailSchedulerQueue
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/new_issuable.rb
View file @
7e87626a
# frozen_string_literal: true
module
NewIssuable
attr_reader
:issuable
,
:user
...
...
app/workers/concerns/object_storage_queue.rb
View file @
7e87626a
# frozen_string_literal: true
# Concern for setting Sidekiq settings for the various GitLab ObjectStorage workers.
module
ObjectStorageQueue
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/pipeline_background_queue.rb
View file @
7e87626a
# frozen_string_literal: true
##
# Concern for setting Sidekiq settings for the low priority CI pipeline workers.
#
...
...
app/workers/concerns/pipeline_queue.rb
View file @
7e87626a
# frozen_string_literal: true
##
# Concern for setting Sidekiq settings for the various CI pipeline workers.
#
...
...
app/workers/concerns/project_import_options.rb
View file @
7e87626a
# frozen_string_literal: true
module
ProjectImportOptions
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/project_start_import.rb
View file @
7e87626a
# frozen_string_literal: true
# Used in EE by mirroring
module
ProjectStartImport
def
start
(
project
)
...
...
app/workers/concerns/repository_check_queue.rb
View file @
7e87626a
# frozen_string_literal: true
# Concern for setting Sidekiq settings for the various repository check workers.
module
RepositoryCheckQueue
extend
ActiveSupport
::
Concern
...
...
app/workers/concerns/waitable_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
WaitableWorker
extend
ActiveSupport
::
Concern
...
...
app/workers/mail_scheduler/issue_due_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
MailScheduler
class
IssueDueWorker
include
ApplicationWorker
...
...
app/workers/mail_scheduler/notification_service_worker.rb
View file @
7e87626a
# frozen_string_literal: true
require
'active_job/arguments'
module
MailScheduler
...
...
app/workers/object_storage/background_move_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
ObjectStorage
class
BackgroundMoveWorker
include
ApplicationWorker
...
...
app/workers/repository_check/batch_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
RepositoryCheck
class
BatchWorker
include
ApplicationWorker
...
...
app/workers/repository_check/clear_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
RepositoryCheck
class
ClearWorker
include
ApplicationWorker
...
...
app/workers/repository_check/single_repository_worker.rb
View file @
7e87626a
# frozen_string_literal: true
module
RepositoryCheck
class
SingleRepositoryWorker
include
ApplicationWorker
...
...
changelogs/unreleased/frozen-string-enable-app-workers-2.yml
0 → 100644
View file @
7e87626a
---
title
:
Finish enabling frozen string for app/workers/*.rb
merge_request
:
20197
author
:
gfyoung
type
:
other
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