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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2d444780
Commit
2d444780
authored
Jun 06, 2019
by
Jacob Vosmaer
Committed by
Stan Hu
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only use Gitaly catfile_cache_size=5 in test
parent
e5aba4b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lib/gitlab/setup_helper.rb
lib/gitlab/setup_helper.rb
+7
-1
No files found.
lib/gitlab/setup_helper.rb
View file @
2d444780
...
@@ -43,7 +43,13 @@ module Gitlab
...
@@ -43,7 +43,13 @@ module Gitlab
config
[
:'gitaly-ruby'
]
=
{
dir:
File
.
join
(
gitaly_dir
,
'ruby'
)
}
if
gitaly_ruby
config
[
:'gitaly-ruby'
]
=
{
dir:
File
.
join
(
gitaly_dir
,
'ruby'
)
}
if
gitaly_ruby
config
[
:'gitlab-shell'
]
=
{
dir:
Gitlab
.
config
.
gitlab_shell
.
path
}
config
[
:'gitlab-shell'
]
=
{
dir:
Gitlab
.
config
.
gitlab_shell
.
path
}
config
[
:bin_dir
]
=
Gitlab
.
config
.
gitaly
.
client_path
config
[
:bin_dir
]
=
Gitlab
.
config
.
gitaly
.
client_path
if
Rails
.
env
.
test?
# Compared to production, tests run in constrained environments. This
# number is meant to grow with the number of concurrent rails requests /
# sidekiq jobs, and concurrency will be low anyway in test.
config
[
:git
]
=
{
catfile_cache_size:
5
}
config
[
:git
]
=
{
catfile_cache_size:
5
}
end
TomlRB
.
dump
(
config
)
TomlRB
.
dump
(
config
)
end
end
...
...
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