boss.starter¶
Functions¶
|
Get the maximum number of worker processes to use. |
|
Creates a unique instance identifier consisting of the hostname and an UUID. |
|
Module Contents¶
- boss.starter.get_max_workers() int[source]¶
Get the maximum number of worker processes to use.
For Windows systems, caps the worker count at 32. For other platforms, returns the total CPU count.
- Returns:
The maximum number of worker processes to use