swoft-cloud / swoft-component

📦 This is a repository of centralized management of all swoft core components
https://www.swoft.org
Apache License 2.0
96 stars 107 forks source link

update: dynamic process number #588

Open hemengze opened 4 years ago

hemengze commented 4 years ago

What does this PR do?

Dynamic process number

Motivation

When I modify workerId array, I must change the process number by hand.

More

inhere commented 4 years ago

you can change worker num by bean config:

'processPool' => [
     'workerNum' => 8,
]