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
b0315600
Commit
b0315600
authored
May 17, 2021
by
Andy Soiron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable IdempotentWorker rubocop for Jira workers
parent
530f11a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/workers/jira_connect/sync_branch_worker.rb
app/workers/jira_connect/sync_branch_worker.rb
+1
-1
app/workers/jira_connect/sync_merge_request_worker.rb
app/workers/jira_connect/sync_merge_request_worker.rb
+1
-1
No files found.
app/workers/jira_connect/sync_branch_worker.rb
View file @
b0315600
# frozen_string_literal: true
# frozen_string_literal: true
module
JiraConnect
module
JiraConnect
class
SyncBranchWorker
# rubocop:disable Scalability/IdempotentWorker
class
SyncBranchWorker
include
ApplicationWorker
include
ApplicationWorker
sidekiq_options
retry:
3
sidekiq_options
retry:
3
...
...
app/workers/jira_connect/sync_merge_request_worker.rb
View file @
b0315600
# frozen_string_literal: true
# frozen_string_literal: true
module
JiraConnect
module
JiraConnect
class
SyncMergeRequestWorker
# rubocop:disable Scalability/IdempotentWorker
class
SyncMergeRequestWorker
include
ApplicationWorker
include
ApplicationWorker
sidekiq_options
retry:
3
sidekiq_options
retry:
3
...
...
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