Skip to content

Commit

Permalink
Print number of subgraphs entered.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmai committed Aug 28, 2020
1 parent 14758e0 commit dc3c8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query/outputnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ func facetName(fieldName string, f *api.Facet) string {
// This method gets the values and children for a subprotos.
func (sg *SubGraph) preTraverse(enc *encoder, uid uint64, dst fastJsonNode, level int) error {
if sg.numEntered%10000 == 0 {
glog.Infof("Entered %p subgraph. Level: %d. Attr: %s. uid: %d\n", sg, level, sg.Attr, uid)
glog.Infof("Entered %p subgraph. numEntered: %d. Level: %d. Attr: %s. uid: %d\n", sg, sg.numEntered, level, sg.Attr, uid)
}
sg.numEntered++

Expand Down

0 comments on commit dc3c8e1

Please sign in to comment.