mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 09:51:02 +00:00
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…
x
Reference in New Issue
Block a user