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)
|
||||
)
|
||||
|
||||
const (
|
||||
nowTimeUpdateInterval = 500 * time.Millisecond
|
||||
releaseTimeoutCount = 10
|
||||
)
|
||||
const nowTimeUpdateInterval = 500 * time.Millisecond
|
||||
|
||||
// Logger is used for logging formatted messages.
|
||||
type Logger interface {
|
||||
|
|
Loading…
Reference in New Issue