Merge branch 'develop'

This commit is contained in:
Andy Pan 2018-07-06 20:45:46 +08:00
commit 3ad4352b57
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ type PoolWithFunc struct {
once sync.Once once sync.Once
} }
func (p *PoolWithFunc) MonitorAndClear() { func (p *PoolWithFunc) monitorAndClear() {
go func() { go func() {
for { for {
time.Sleep(p.expiryDuration) time.Sleep(p.expiryDuration)