diff --git a/container/gpool/gpool.go b/container/gpool/gpool.go index 4e4d5d816..3248331e3 100644 --- a/container/gpool/gpool.go +++ b/container/gpool/gpool.go @@ -170,6 +170,7 @@ func (p *Pool) checkExpireItems() { if r := p.list.PopFront(); r != nil { item := r.(*poolItem) latestExpire = item.expire + // TODO improve the auto-expiration mechanism of the pool. if item.expire > timestampMilli { p.list.PushFront(item) break