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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
24244d03
Commit
24244d03
authored
Aug 25, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'sh-sidekiq-backtrace' into 'master'"
This reverts merge request !13813
parent
51ceacb1
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
13 deletions
+0
-13
app/workers/concerns/exception_backtrace.rb
app/workers/concerns/exception_backtrace.rb
+0
-8
app/workers/group_destroy_worker.rb
app/workers/group_destroy_worker.rb
+0
-1
app/workers/namespaceless_project_destroy_worker.rb
app/workers/namespaceless_project_destroy_worker.rb
+0
-1
app/workers/project_destroy_worker.rb
app/workers/project_destroy_worker.rb
+0
-1
app/workers/project_export_worker.rb
app/workers/project_export_worker.rb
+0
-1
app/workers/repository_import_worker.rb
app/workers/repository_import_worker.rb
+0
-1
No files found.
app/workers/concerns/exception_backtrace.rb
deleted
100644 → 0
View file @
51ceacb1
# Concern for enabling a few lines of exception backtraces in Sidekiq
module
BuildQueue
extend
ActiveSupport
::
Concern
included
do
sidekiq_options
backtrace:
5
end
end
app/workers/group_destroy_worker.rb
View file @
24244d03
class
GroupDestroyWorker
class
GroupDestroyWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
include
ExceptionBacktrace
def
perform
(
group_id
,
user_id
)
def
perform
(
group_id
,
user_id
)
begin
begin
...
...
app/workers/namespaceless_project_destroy_worker.rb
View file @
24244d03
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
class
NamespacelessProjectDestroyWorker
class
NamespacelessProjectDestroyWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
include
ExceptionBacktrace
def
self
.
bulk_perform_async
(
args_list
)
def
self
.
bulk_perform_async
(
args_list
)
Sidekiq
::
Client
.
push_bulk
(
'class'
=>
self
,
'queue'
=>
sidekiq_options
[
'queue'
],
'args'
=>
args_list
)
Sidekiq
::
Client
.
push_bulk
(
'class'
=>
self
,
'queue'
=>
sidekiq_options
[
'queue'
],
'args'
=>
args_list
)
...
...
app/workers/project_destroy_worker.rb
View file @
24244d03
class
ProjectDestroyWorker
class
ProjectDestroyWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
include
ExceptionBacktrace
def
perform
(
project_id
,
user_id
,
params
)
def
perform
(
project_id
,
user_id
,
params
)
project
=
Project
.
find
(
project_id
)
project
=
Project
.
find
(
project_id
)
...
...
app/workers/project_export_worker.rb
View file @
24244d03
class
ProjectExportWorker
class
ProjectExportWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
include
ExceptionBacktrace
sidekiq_options
retry:
3
sidekiq_options
retry:
3
...
...
app/workers/repository_import_worker.rb
View file @
24244d03
...
@@ -3,7 +3,6 @@ class RepositoryImportWorker
...
@@ -3,7 +3,6 @@ class RepositoryImportWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
DedicatedSidekiqQueue
include
DedicatedSidekiqQueue
include
ExceptionBacktrace
sidekiq_options
status_expiration:
StuckImportJobsWorker
::
IMPORT_JOBS_EXPIRATION
sidekiq_options
status_expiration:
StuckImportJobsWorker
::
IMPORT_JOBS_EXPIRATION
...
...
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