swoft-component
swoft-component copied to clipboard
update: dynamic process number
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
you can change worker num by bean config:
'processPool' => [
'workerNum' => 8,
]