Skip to content
Anatoly Ivanov edited this page Apr 10, 2019 · 3 revisions

Parallel tasks inside worker

You can tune the amount of parallel tasks for each worker.

This is generally defined in a base class here https://github.com/c0rvax/black/blob/master/black/workers/common/async_worker.py#L19

Note how AmassWorker is initialized here https://github.com/c0rvax/black/blob/master/black/workers/amass/amass_worker.py#L13

With the default settings I personally run this on DigitalOcean $10 instance. Sometime this goes laggy, so i advise to use at least $15 instance, at least with default settings.

Clone this wiki locally