Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Increase log level of pool size increase to INFO

Christophe Bliard6c6019dfcadb
diff --git a/config/initializers/database_pool_size.rb b/config/initializers/database_pool_size.rb
index f561765d1ab..19985ab3d05 100644
--- a/config/initializers/database_pool_size.rb
+++ b/config/initializers/database_pool_size.rb
@@ -31,7 +31,7 @@ pool_size = config && [OpenProject::Configuration.web_max_threads + 1, config["p
# make sure we have enough connections in the pool for each thread and then some
if pool_size && pool_size > ActiveRecord::Base.connection_pool.size
- Rails.logger.debug { "Increasing database pool size to #{pool_size} to match max threads" }
+ Rails.logger.info { "Increasing database pool size to #{pool_size} to match max threads" }
ActiveRecord::Base.establish_connection config.merge(pool: pool_size)
end