Skip to content

Commit 0031221

Browse files
committed
add newlines
1 parent bf8a956 commit 0031221

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/pool/pool.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ func (p *Pool[PT, T]) spawnItems(ctx context.Context) {
231231
select {
232232
case <-p.done:
233233
timer.Stop()
234+
234235
return
235236
case <-timer.C:
236237
}
@@ -252,6 +253,7 @@ func (p *Pool[PT, T]) trySpawn(ctx context.Context) error {
252253
case p.queue <- item:
253254
p.stats.Idle().Inc()
254255
}
256+
255257
return nil
256258
}
257259

0 commit comments

Comments
 (0)