Pool::resize
(PECL pthreads >= 2.0.0)
Pool::resize — Resize 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
No value is returned.
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/pool.resize.php