Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxWorkers = 20 MinWorkers = 5 WorkersPerCore = 3 )
Variables ¶
This section is empty.
Functions ¶
func CalculateOptimal ¶
CalculateOptimal calculates the optimal number of workers based on CPU cores If workers is 0 (not set), it auto-calculates based on CPU cores The result is clamped between MinWorkers and MaxWorkers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.