Skip to content

Commit

Permalink
chore: remove the unused constant of releaseTimeoutCount
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jun 17, 2024
1 parent 15e8961 commit 1933478
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1933478

Please sign in to comment.