Import gremlin, v=2 for more cases

This commit is contained in:
Barak Michener 2014-08-12 14:30:05 -04:00
parent 2eb25968c2
commit f5f0ed7173
2 changed files with 2 additions and 0 deletions

View file

@ -210,6 +210,7 @@ func runIteratorToArrayNoTags(it graph.Iterator, ses *Session, limit int) []stri
func runIteratorWithCallback(it graph.Iterator, ses *Session, callback otto.Value, this otto.FunctionCall, limit int) {
count := 0
it, _ = it.Optimize()
glog.V(2).Infoln(it.DebugString(0))
for {
select {
case <-ses.kill:

View file

@ -22,6 +22,7 @@ import (
"time"
"github.com/robertkrimen/otto"
_ "github.com/robertkrimen/otto/underscore"
"github.com/google/cayley/graph"
"github.com/google/cayley/query"