some log cleanup and an extra trace value
This commit is contained in:
parent
31327a383f
commit
3cb4a60db4
@ -1022,6 +1022,8 @@ func (syncer *Syncer) iterFullTipsets(ctx context.Context, headers []*types.TipS
|
|||||||
ctx, span := trace.StartSpan(ctx, "iterFullTipsets")
|
ctx, span := trace.StartSpan(ctx, "iterFullTipsets")
|
||||||
defer span.End()
|
defer span.End()
|
||||||
|
|
||||||
|
span.AddAttributes(trace.Int64Attribute("num_headers", int64(len(headers))))
|
||||||
|
|
||||||
windowSize := 200
|
windowSize := 200
|
||||||
for i := len(headers) - 1; i >= 0; {
|
for i := len(headers) - 1; i >= 0; {
|
||||||
fts, err := syncer.store.TryFillTipSet(headers[i])
|
fts, err := syncer.store.TryFillTipSet(headers[i])
|
||||||
|
@ -20,6 +20,7 @@ func main() {
|
|||||||
logging.SetLogLevel("swarm2", "WARN")
|
logging.SetLogLevel("swarm2", "WARN")
|
||||||
logging.SetLogLevel("bitswap", "WARN")
|
logging.SetLogLevel("bitswap", "WARN")
|
||||||
logging.SetLogLevel("pubsub", "WARN")
|
logging.SetLogLevel("pubsub", "WARN")
|
||||||
|
logging.SetLogLevel("connmgr", "WARN")
|
||||||
|
|
||||||
local := []*cli.Command{
|
local := []*cli.Command{
|
||||||
DaemonCmd,
|
DaemonCmd,
|
||||||
|
Loading…
Reference in New Issue
Block a user