voryx / ThruwayBundle

Bundle for building Real-time Apps in Symfony
98 stars 47 forks source link

make maxProcesses configurable for default worker #60

Open karser opened 7 years ago

karser commented 7 years ago

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? https://github.com/voryx/ThruwayBundle/blob/a6310da7d9981648abf1141b7ef245ee0b4709ba/src/Voryx/ThruwayBundle/Command/ThruwayProcessCommand.php#L347

davidwdan commented 7 years ago

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