Merge branch 'master' into replcrash
This commit is contained in:
commit
8e16543da3
11 changed files with 260 additions and 79 deletions
|
|
@ -15,6 +15,8 @@
|
|||
package gremlin
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/barakmich/glog"
|
||||
"github.com/robertkrimen/otto"
|
||||
|
||||
|
|
@ -278,5 +280,9 @@ func runIteratorOnSession(it graph.Iterator, ses *Session) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if glog.V(2) {
|
||||
bytes, _ := json.MarshalIndent(graph.DumpStats(it), "", " ")
|
||||
glog.V(2).Infoln(string(bytes))
|
||||
}
|
||||
it.Close()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue