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
61d8f242
Commit
61d8f242
authored
Dec 04, 2020
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable pages legacy storage lease by default
parent
72b71359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/pages/legacy_storage_lease.rb
app/services/pages/legacy_storage_lease.rb
+1
-1
config/feature_flags/development/pages_use_legacy_storage_lease.yml
...ture_flags/development/pages_use_legacy_storage_lease.yml
+1
-1
No files found.
app/services/pages/legacy_storage_lease.rb
View file @
61d8f242
...
...
@@ -12,7 +12,7 @@ module Pages
# TODO: just remove this method after testing this in production
# https://gitlab.com/gitlab-org/gitlab/-/issues/282464
def
try_obtain_lease
return
yield
unless
Feature
.
enabled?
(
:pages_use_legacy_storage_lease
,
project
)
return
yield
unless
Feature
.
enabled?
(
:pages_use_legacy_storage_lease
,
project
,
default_enabled:
true
)
super
end
...
...
config/feature_flags/development/pages_use_legacy_storage_lease.yml
View file @
61d8f242
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/282464
milestone
:
'
13.7'
type
:
development
group
:
group::release
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