From 73d97153d867153943d0af73b7f82b228dfe170c Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 9 Mar 2026 06:01:48 -0400 Subject: [PATCH] Update `connection_pool` to version 3.0.2 (#38103) --- Gemfile.lock | 2 +- app/lib/connection_pool/shared_connection_pool.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e867009e83..5176eca307 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -170,7 +170,7 @@ GEM cocoon (1.2.15) color_diff (0.2) concurrent-ruby (1.3.6) - connection_pool (2.5.5) + connection_pool (3.0.2) cose (1.3.1) cbor (~> 0.5.9) openssl-signature_algorithm (~> 1.0) diff --git a/app/lib/connection_pool/shared_connection_pool.rb b/app/lib/connection_pool/shared_connection_pool.rb index c7dd747eda..2a66afbdc9 100644 --- a/app/lib/connection_pool/shared_connection_pool.rb +++ b/app/lib/connection_pool/shared_connection_pool.rb @@ -4,7 +4,7 @@ require 'connection_pool' require_relative 'shared_timed_stack' class ConnectionPool::SharedConnectionPool < ConnectionPool - def initialize(options = {}, &block) + def initialize(**, &block) super @available = ConnectionPool::SharedTimedStack.new(@size, &block)