Skip to content

Commit

Permalink
Configure DB Connection Pool Type (#4012)
Browse files Browse the repository at this point in the history
Sequel changed the default connection pool type, which has not been tested with our extensions.
Therefore, configuring the pool type `:threaded`.
  • Loading branch information
svkrieger authored Oct 7, 2024
1 parent 5f4df6d commit 59c7328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cloud_controller/db_connection/options_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def base_options(opts)
log_level: opts[:log_level],
max_connections: opts[:max_connections],
pool_timeout: opts[:pool_timeout],
pool_class: :threaded,
read_timeout: opts[:read_timeout],
sql_mode: %i[strict_trans_tables strict_all_tables no_zero_in_date]
}
Expand Down

0 comments on commit 59c7328

Please sign in to comment.