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
6c9d0bb5
Commit
6c9d0bb5
authored
Sep 29, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
5145f3a8
9a7d085d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
config/initializers/database_config.rb
config/initializers/database_config.rb
+0
-10
No files found.
config/initializers/database_config.rb
View file @
6c9d0bb5
# frozen_string_literal: true
def
log_pool_size
(
db
,
previous_pool_size
,
current_pool_size
)
log_message
=
[
"
#{
db
}
connection pool size:
#{
current_pool_size
}
"
]
if
previous_pool_size
&&
current_pool_size
>
previous_pool_size
log_message
<<
"(increased from
#{
previous_pool_size
}
to match thread count)"
end
Gitlab
::
AppLogger
.
debug
(
log_message
.
join
(
' '
))
end
Gitlab
.
ee
do
# We need to initialize the Geo database before
# setting the Geo DB connection pool size.
...
...
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