Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Anteoy committed Jul 26, 2019
1 parent cac6434 commit 57ba7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func NewTimingPool(size, expiry int, preAlloc bool) (*Pool, error) {
p = &Pool{
capacity: int32(size),
expiryDuration: time.Duration(expiry) * time.Second,
workers: make([]*Worker,0,int32(size)),
workers: make([]*Worker, 0, int32(size)),
}
} else {
p = &Pool{
Expand Down

0 comments on commit 57ba7d7

Please sign in to comment.