swoft-component icon indicating copy to clipboard operation
swoft-component copied to clipboard

update: dynamic process number

Open hemengze opened this issue 5 years ago • 1 comments

What does this PR do?

Dynamic process number

Motivation

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

More

  • [x] Added/updated tests
  • [ ] Added/updated documentation

hemengze avatar Jul 05 '20 07:07 hemengze

you can change worker num by bean config:

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

inhere avatar Sep 13 '20 10:09 inhere