I tried to generate two workers on the harrowing server
But on the basis of this example, At the same time an employee has run.
Is it possible to run 2 different jobs to run 2 workers by using workers: heroku ps: scale worker = 2 by using workers already? But when I do this, it only affects the worker process class and I have two worker process classes running at the same time.
Yes, you can have as many worker procedures as you want them having different names in your profile In the article written by you, a single worker is called only worker , but your profile will be in this way with two different workers like updater and Mailer says>: Web: Java Word Web-App. $ Port Updater: Shaw Karta / Target / Bin / Updater Mailer: Shi Employee / Target / Bin / Mailer
If you are using Appembler-Maven-plugin shown in the article If so, you'll see another & lt; Program & gt; ... & lt; / Program & gt; Must have to add. ; Elements for each of your workers, hence initial start scripts are generated.
No comments:
Post a Comment