diff --git a/personal/config/application.rb b/personal/config/application.rb index 479f4af..f6b336e 100644 --- a/personal/config/application.rb +++ b/personal/config/application.rb @@ -14,7 +14,7 @@ class Application < Rails::Application require "custom_logger" ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--clean', '--if-exists'] # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 7.0 + config.load_defaults 7.1 config.active_record.schema_format = :sql config.active_record.dump_schemas = :all diff --git a/personal/config/database.yml b/personal/config/database.yml index 0165b1f..c0e7244 100644 --- a/personal/config/database.yml +++ b/personal/config/database.yml @@ -4,7 +4,8 @@ default: &default encoding: unicode # For details on connection pooling, see Rails configuration guide # https://guides.rubyonrails.org/configuring.html#database-pooling - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 10 } %> + timeout: 5000 development: