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
177d2a1d
Commit
177d2a1d
authored
Jan 27, 2021
by
Imre Farkas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable specialized_project_authorization_worker feature flag
parent
ed29856f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/services/projects/create_service.rb
app/services/projects/create_service.rb
+1
-1
changelogs/unreleased/enable_specialized_project_create_ff.yml
...elogs/unreleased/enable_specialized_project_create_ff.yml
+5
-0
config/feature_flags/development/specialized_project_authorization_workers.yml
...development/specialized_project_authorization_workers.yml
+2
-2
No files found.
app/services/projects/create_service.rb
View file @
177d2a1d
...
...
@@ -127,7 +127,7 @@ module Projects
access_level:
group_access_level
)
end
if
Feature
.
enabled?
(
:specialized_project_authorization_workers
)
if
Feature
.
enabled?
(
:specialized_project_authorization_workers
,
default_enabled: :yaml
)
AuthorizedProjectUpdate
::
ProjectCreateWorker
.
perform_async
(
@project
.
id
)
# AuthorizedProjectsWorker uses an exclusive lease per user but
# specialized workers might have synchronization issues. Until we
...
...
changelogs/unreleased/enable_specialized_project_create_ff.yml
0 → 100644
View file @
177d2a1d
---
title
:
Project creation to use specialized worker to calculate project authorizations
merge_request
:
52719
author
:
type
:
performance
config/feature_flags/development/specialized_project_authorization_workers.yml
View file @
177d2a1d
---
name
:
specialized_project_authorization_workers
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31377
rollout_issue_url
:
rollout_issue_url
:
milestone
:
'
13.0'
type
:
development
group
:
group::access
default_enabled
:
fals
e
default_enabled
:
tru
e
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