diff --git a/chain/sync.go b/chain/sync.go index 9c87136a1..b8018c793 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -1022,6 +1022,8 @@ func (syncer *Syncer) iterFullTipsets(ctx context.Context, headers []*types.TipS ctx, span := trace.StartSpan(ctx, "iterFullTipsets") defer span.End() + span.AddAttributes(trace.Int64Attribute("num_headers", int64(len(headers)))) + windowSize := 200 for i := len(headers) - 1; i >= 0; { fts, err := syncer.store.TryFillTipSet(headers[i]) diff --git a/cmd/lotus/main.go b/cmd/lotus/main.go index 5ce4833b8..2892d9358 100644 --- a/cmd/lotus/main.go +++ b/cmd/lotus/main.go @@ -20,6 +20,7 @@ func main() { logging.SetLogLevel("swarm2", "WARN") logging.SetLogLevel("bitswap", "WARN") logging.SetLogLevel("pubsub", "WARN") + logging.SetLogLevel("connmgr", "WARN") local := []*cli.Command{ DaemonCmd,