Pool::resize

(PECL pthreads >= 2.0.0)

Pool::resizeResize the Pool

Description

public Pool::resize ( int $size ) : void

Resize the Pool

Parameters

size

The maximum number of Workers this Pool can create

Return Values

void

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/pool.resize.php