Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestartWorkers ¶
func RestartWorkers()
RestartWorkers stops the current worker loop and starts it again.
func RunWorkers ¶
func RunWorkers()
RunWorkers starts a managed worker loop for the given task if one is not already running. Each started task still respects the configured worker pool limit.
func SetWorkersLimit ¶
func SetWorkersLimit(limit int)
SetWorkersLimit sets the maximum number of concurrent workers for future runs. Non-positive limits fall back to the default worker limit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.