mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
Merge branch 'develop'
This commit is contained in:
commit
3ad4352b57
@ -62,7 +62,7 @@ type PoolWithFunc struct {
|
||||
once sync.Once
|
||||
}
|
||||
|
||||
func (p *PoolWithFunc) MonitorAndClear() {
|
||||
func (p *PoolWithFunc) monitorAndClear() {
|
||||
go func() {
|
||||
for {
|
||||
time.Sleep(p.expiryDuration)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user