rename func

This commit is contained in:
andy pan 2018-07-06 14:35:30 +08:00
parent 56943d78d5
commit 0cb5a50036
1 changed files with 1 additions and 1 deletions

View File

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