Swoole\ConnectionPool->put

Declaration

<?php
Swoole\ConnectionPool->put($connection)

Parameters

connection

A connection

Return

Description

Put the connection back to connection pool once it is not used by the current corooutine.

Example