Commit 9a7d085d authored by Stan Hu's avatar Stan Hu

Merge branch 'da-remove-unused-method' into 'master'

Remove unused method log_pool_size in config/initializers/database_config.rb

See merge request gitlab-org/gitlab!71407
parents ca3aa6e0 69bf2062
# frozen_string_literal: true # 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 Gitlab.ee do
# We need to initialize the Geo database before # We need to initialize the Geo database before
# setting the Geo DB connection pool size. # setting the Geo DB connection pool size.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment