Registry / async / swoft-connection-pool

swoft-connection-pool

JSON →
library2.0.11phppackagistunverified

swoft connection pool component

composer require swoft/connection-pool
INSTALL
IMPORT
SIG · SWOFT-CONNECTION-P
S
swoft-connection-pool
asyncphpv2.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConnectionPool
use Swoft\ConnectionPool\ConnectionPool;

Get a connection from the pool and release it.

use Swoft\ConnectionPool\ConnectionPool; $pool = new ConnectionPool(); $connection = $pool->getConnection(); // use connection $pool->releaseConnection($connection);
Debug
Known issues
breakingRequires Swoole extension.
fix
Install swoole extension.
affects: >=2.0.0
Upgrade
Version history
2.0.11latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
swoft-connection-pool — pip install swoft-connection-pool · libregistry