mirror of
https://github.com/mastodon/mastodon.git
synced 2026-03-21 18:05:23 -05:00
Update connection_pool to version 3.0.2 (#38103)
This commit is contained in:
parent
fcc3fac8a8
commit
73d97153d8
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user