BSD Ports

net/ruby-connection_pool 2.5.5 NetBSD

Generic connection pool for Ruby

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
net, ruby
Package size
27.2 KiB, 66.5 KiB installed

Description

Generic connection pooling for Ruby.

MongoDB has its own connection pool. ActiveRecord has its own connection pool. This is a generic connection pool that can be used with anything, e.g. Redis, Dalli and other Ruby network clients.

**WARNING**: Don't ever use `Timeout.timeout` in your Ruby code or you will see occasional silent corruption and mysterious errors. The Timeout API is unsafe and cannot be used correctly, ever. Use proper socket timeout options as exposed by Net::HTTP, Redis, Dalli, etc.

In the other systems

SystemPortVersion
NetBSDnet/ruby-connection_pool2.5.5
OpenBSDnet/ruby-connection_pool3.0.2

Install

Binary package:

pkgin install ruby33-connection_pool

From pkgsrc:

cd /usr/pkgsrc/net/ruby-connection_pool && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-connection_pool-2.5.5, ruby40-connection_pool-2.5.5