diff options
Diffstat (limited to 'config/initializers/database_config.rb')
-rw-r--r-- | config/initializers/database_config.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config/initializers/database_config.rb b/config/initializers/database_config.rb index e9f10abd0b9..7aedf9013ae 100644 --- a/config/initializers/database_config.rb +++ b/config/initializers/database_config.rb @@ -1,15 +1,5 @@ # 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. |