Merge pull request #4020 from zgfzgf/post-trace

add trace wdpost
This commit is contained in:
Łukasz Magiera 2020-09-30 10:46:05 +02:00 committed by GitHub
commit c2c64caefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,8 +119,11 @@ func (s *WindowPoStScheduler) Run(ctx context.Context) {
continue
}
ctx, span := trace.StartSpan(ctx, "WindowPoStScheduler.headChange")
s.update(ctx, nil, chg.Val)
span.End()
gotCur = true
continue
}