Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultAntsPoolSize sets up the capacity of worker pool, 256 * 1024. DefaultAntsPoolSize = 1 << 18 // ExpiryDuration is the interval time to clean up those expired workers. ExpiryDuration = 10 * time.Second // Nonblocking decides what to do when submitting a new task to a full worker pool: waiting for a available worker // or returning nil directly. Nonblocking = true )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.