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
6b5997eb
Commit
6b5997eb
authored
Mar 06, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert changes in Sidekiq queue
parent
f7b66525
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
app/workers/concerns/geo_backfill_queue.rb
app/workers/concerns/geo_backfill_queue.rb
+0
-8
app/workers/geo_backfill_worker.rb
app/workers/geo_backfill_worker.rb
+1
-1
config/sidekiq_queues.yml
config/sidekiq_queues.yml
+0
-1
No files found.
app/workers/concerns/geo_backfill_queue.rb
deleted
100644 → 0
View file @
f7b66525
# Concern for setting Sidekiq settings for Geo backfill worker.
module
GeoBackfillQueue
extend
ActiveSupport
::
Concern
included
do
sidekiq_options
queue: :geo_backfill
,
retry:
false
end
end
app/workers/geo_backfill_worker.rb
View file @
6b5997eb
class
GeoBackfillWorker
include
Sidekiq
::
Worker
include
GeoBackfill
Queue
include
Cronjob
Queue
RUN_TIME
=
5
.
minutes
.
to_i
.
freeze
BATCH_SIZE
=
100
.
freeze
...
...
config/sidekiq_queues.yml
View file @
6b5997eb
...
...
@@ -59,4 +59,3 @@
- [admin_emails, 1]
- [geo_repository_update, 1]
- [elastic_batch_project_indexer, 1]
- [geo_backfill, 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