diff --git a/supernode/daemon/mgr/gc/gc_peer.go b/supernode/daemon/mgr/gc/gc_peer.go index f076979be..8d44725b9 100644 --- a/supernode/daemon/mgr/gc/gc_peer.go +++ b/supernode/daemon/mgr/gc/gc_peer.go @@ -40,7 +40,7 @@ func (gcm *Manager) gcPeers(ctx context.Context) { continue } - if peerState.ServiceDownTime != 0 && + if peerState.ServiceDownTime == 0 || timeutils.GetCurrentTimeMillis()-peerState.ServiceDownTime < int64(gcm.cfg.PeerGCDelay) { continue }