Swoole\ConnectionPool->fill

Notice: the documentation is suitable for PHP extension swoole until v4.7.1, we only support PHP extension openswoole from v4.7.1

Declaration

<?php
Swoole\ConnectionPool->fill()

Parameters

Return

Description

Fill the connection pool with defined number of connections. Establish a number of connections based on the defined connection pool size.

Example