Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make maxProcesses configurable for default worker #60

Open
karser opened this issue Mar 14, 2017 · 1 comment
Open

make maxProcesses configurable for default worker #60

karser opened this issue Mar 14, 2017 · 1 comment

Comments

@karser
Copy link
Contributor

karser commented Mar 14, 2017

For the default worker, the maxProcesses amount is 1.
We might make this configurable so we don't need always specifying @worker("name", maxProcesses=) annotation, @davidwdan WDYT?

$numprocs = $workerAnnotation ? $workerAnnotation->getMaxProcesses() : 1;

@davidwdan
Copy link
Member

@karser I think that's a good idea. Care to make a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants