diff --git a/pkg/gcmanager/scanAll_IPPool.go b/pkg/gcmanager/scanAll_IPPool.go index 5621bd5c85..219e50ceba 100644 --- a/pkg/gcmanager/scanAll_IPPool.go +++ b/pkg/gcmanager/scanAll_IPPool.go @@ -31,8 +31,10 @@ func (s *SpiderGC) monitorGCSignal(ctx context.Context) { timer := time.NewTimer(d) defer timer.Stop() - logger.Debug("initial scan all for cluster firstly") - s.gcSignal <- struct{}{} + go func() { + logger.Debug("initial scan all for cluster firstly") + s.gcSignal <- struct{}{} + }() for { select {