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
9001f8d3
Commit
9001f8d3
authored
Feb 08, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move All Geo Sidekiq workers to geo namespace
Closes #4868
parent
ec85a319
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
app/workers/all_queues.yml
app/workers/all_queues.yml
+4
-4
config/sidekiq_queues.yml
config/sidekiq_queues.yml
+0
-4
ee/app/workers/geo/base_scheduler_worker.rb
ee/app/workers/geo/base_scheduler_worker.rb
+1
-0
ee/app/workers/geo/file_download_worker.rb
ee/app/workers/geo/file_download_worker.rb
+1
-0
ee/app/workers/geo/project_sync_worker.rb
ee/app/workers/geo/project_sync_worker.rb
+1
-0
No files found.
app/workers/all_queues.yml
View file @
9001f8d3
...
...
@@ -114,12 +114,16 @@
-
cronjob:ldap_sync
-
cronjob:update_all_mirrors
-
geo:geo_base_scheduler
-
geo:geo_file_download
-
geo:geo_file_removal
-
geo:geo_hashed_storage_attachments_migration
-
geo:geo_hashed_storage_migration
-
geo:geo_project_sync
-
geo:geo_rename_repository
-
geo:geo_repositories_clean_up
-
geo:geo_repository_destroy
-
geo:geo_repository_shard_sync
-
object_storage_upload
-
object_storage:object_storage_background_move
...
...
@@ -130,10 +134,6 @@
-
elastic_commit_indexer
-
elastic_indexer
-
export_csv
-
geo_base_scheduler
-
geo_file_download
-
geo_project_sync
-
geo_repository_shard_sync
-
ldap_group_sync
-
project_update_repository_storage
-
rebase
...
...
config/sidekiq_queues.yml
View file @
9001f8d3
...
...
@@ -76,10 +76,6 @@
- [repository_update_remote_mirror, 1]
- [project_update_repository_storage, 1]
- [admin_emails, 1]
- [geo_base_scheduler, 1]
# Parent class of geo_repository_shard_sync and cronjob:geo_file_download_dispatch
-
[
geo_project_sync
,
1
]
-
[
geo_file_download
,
1
]
-
[
geo_repository_shard_sync
,
1
]
- [elastic_batch_project_indexer, 1]
- [elastic_indexer, 1]
- [elastic_commit_indexer, 1]
...
...
ee/app/workers/geo/base_scheduler_worker.rb
View file @
9001f8d3
module
Geo
class
BaseSchedulerWorker
include
ApplicationWorker
include
GeoQueue
include
ExclusiveLeaseGuard
include
::
Gitlab
::
Utils
::
StrongMemoize
...
...
ee/app/workers/geo/file_download_worker.rb
View file @
9001f8d3
module
Geo
class
FileDownloadWorker
include
ApplicationWorker
include
GeoQueue
sidekiq_options
retry:
3
,
dead:
false
...
...
ee/app/workers/geo/project_sync_worker.rb
View file @
9001f8d3
module
Geo
class
ProjectSyncWorker
include
ApplicationWorker
include
GeoQueue
sidekiq_options
retry:
3
,
dead:
false
...
...
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