mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
🚀 Update the comment about error types
This commit is contained in:
parent
e65a7d49b7
commit
089a7321ef
2
ants.go
2
ants.go
@ -63,7 +63,7 @@ func Release() {
|
|||||||
defaultAntsPool.Release()
|
defaultAntsPool.Release()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Errors for the Ants API.
|
// Error types for the Ants API.
|
||||||
var (
|
var (
|
||||||
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
||||||
ErrInvalidPoolExpiry = errors.New("invalid expiry for pool")
|
ErrInvalidPoolExpiry = errors.New("invalid expiry for pool")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user