mirror of https://github.com/panjf2000/ants.git
chore: remove the unused constant of releaseTimeoutCount
This commit is contained in:
parent
15e896153d
commit
1933478e2e
5
ants.go
5
ants.go
|
@ -96,10 +96,7 @@ var (
|
||||||
defaultAntsPool, _ = NewPool(DefaultAntsPoolSize)
|
defaultAntsPool, _ = NewPool(DefaultAntsPoolSize)
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const nowTimeUpdateInterval = 500 * time.Millisecond
|
||||||
nowTimeUpdateInterval = 500 * time.Millisecond
|
|
||||||
releaseTimeoutCount = 10
|
|
||||||
)
|
|
||||||
|
|
||||||
// Logger is used for logging formatted messages.
|
// Logger is used for logging formatted messages.
|
||||||
type Logger interface {
|
type Logger interface {
|
||||||
|
|
Loading…
Reference in New Issue