Project

General

Profile

« Previous | Next » 

Revision 8c7be857

Added by Ivan Necas almost 6 years ago

Fixes #24220 - increase recommended pool size for the db

Since Rails 5, it seems the webrick is not limited on single request at
a time, which leads to 500s when loading the dasboards, especially with
plugins.

Suggesting to increse the default pool size in the database.yml
to avoid users running into this.

View differences:

config/database.yml.example
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
pool: 10
timeout: 5000
# Warning: The database defined as "test" will be erased and
......
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
pool: 10
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
pool: 10
timeout: 5000

Also available in: Unified diff