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
d2b2791e
Commit
d2b2791e
authored
Jul 08, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add frozen_string_literal to EE files now in CE
parent
d2361b58
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
0 deletions
+10
-0
config/initializers/0_license.rb
config/initializers/0_license.rb
+2
-0
config/initializers/elastic_client_setup.rb
config/initializers/elastic_client_setup.rb
+2
-0
config/initializers/geo.rb
config/initializers/geo.rb
+2
-0
config/initializers/load_balancing.rb
config/initializers/load_balancing.rb
+2
-0
config/initializers/sidekiq_cluster.rb
config/initializers/sidekiq_cluster.rb
+2
-0
No files found.
config/initializers/0_license.rb
View file @
d2b2791e
# frozen_string_literal: true
Gitlab
.
ee
do
begin
public_key_file
=
File
.
read
(
Rails
.
root
.
join
(
".license_encryption_key.pub"
))
...
...
config/initializers/elastic_client_setup.rb
View file @
d2b2791e
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
require
'gitlab/current_settings'
...
...
config/initializers/geo.rb
View file @
d2b2791e
# frozen_string_literal: true
Gitlab
.
ee
do
if
File
.
exist?
(
Rails
.
root
.
join
(
'config/database_geo.yml'
))
Rails
.
application
.
configure
do
...
...
config/initializers/load_balancing.rb
View file @
d2b2791e
# frozen_string_literal: true
# We need to run this initializer after migrations are done so it doesn't fail on CI
Gitlab
.
ee
do
...
...
config/initializers/sidekiq_cluster.rb
View file @
d2b2791e
# frozen_string_literal: true
if
ENV
[
'ENABLE_SIDEKIQ_CLUSTER'
]
&&
Gitlab
.
ee?
Thread
.
new
do
Thread
.
current
.
abort_on_exception
=
true
...
...
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