Skip to content

Connection Pool 3.0#209

Merged
mperham merged 10 commits intomainfrom
3-0
Dec 3, 2025
Merged

Connection Pool 3.0#209
mperham merged 10 commits intomainfrom
3-0

Conversation

@mperham
Copy link
Copy Markdown
Owner

@mperham mperham commented Nov 25, 2025

  • Move to keyword arguments everywhere.
  • Drop older Rubies.
  • Remove some redundant tests and speed up others. Test suite runs in 0.3 seconds now, rather than 5.3 seconds.

ConnectionPool is mostly safe for upgrades as the basic API is compatible. ConnectionPool::TimedStack is not compatible.

Thanks to @ruyrocha for some of the work in #206

@mperham mperham merged commit 5d3f6c1 into main Dec 3, 2025
12 checks passed
@mperham mperham deleted the 3-0 branch December 3, 2025 21:35
Splines pushed a commit to MaMpf-HD/mampf that referenced this pull request Dec 6, 2025
connection_pool is a gem needed by Activesupport. 
In its 3.0 release, connection_pool introduced breaking changes in the
signature of the initialize function (see this
[PR](mperham/connection_pool#209)) that break
activesupport resulting in the error: ArgumentError: wrong number of
arguments (given 1, expected 0) (ArgumentError) during build.

Therefore we should currently limit connection_pool to versions before
3.0, until this is resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant