Skip to content

Commit e4e2caf

Browse files
added changes
1 parent dcdffb2 commit e4e2caf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

posting/index.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -584,14 +584,7 @@ func runMutation(ctx context.Context, edge *pb.DirectedEdge, txn *Txn) error {
584584
getFn = txn.GetFromDelta
585585
}
586586

587-
t := time.Now()
588587
plist, err := getFn(key)
589-
if dur := time.Since(t); dur > time.Millisecond {
590-
if span := otrace.FromContext(ctx); span != nil {
591-
span.Annotatef([]otrace.Attribute{otrace.BoolAttribute("slow-get", true)},
592-
"GetLru took %s", dur)
593-
}
594-
}
595588
if err != nil {
596589
return err
597590
}

0 commit comments

Comments
 (0)