Skip to content

update: dynamic process number#588

Open
hemengze wants to merge 1 commit intoswoft-cloud:masterfrom
hemengze:process-num
Open

update: dynamic process number#588
hemengze wants to merge 1 commit intoswoft-cloud:masterfrom
hemengze:process-num

Conversation

@hemengze
Copy link

@hemengze hemengze commented Jul 5, 2020

What does this PR do?

Dynamic process number

Motivation

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

More

  • Added/updated tests
  • Added/updated documentation

@inhere
Copy link
Member

inhere commented Sep 13, 2020

you can change worker num by bean config:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants