From 9d7af524ae778ff1d9bf81ae59e5cce8f9232778 Mon Sep 17 00:00:00 2001 From: Ryan Romanchuk Date: Mon, 1 Jan 2024 17:50:14 -0600 Subject: [PATCH] ci --- personal/config/application.rb | 2 +- personal/config/database.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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: