From 2d884f92e9207f78ec3e309506e47701df07509f Mon Sep 17 00:00:00 2001 From: kortschak Date: Sat, 2 Aug 2014 22:58:53 +0930 Subject: [PATCH] Name reduction --- query/gremlin/session.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query/gremlin/session.go b/query/gremlin/session.go index e5b3460..3f8bb0b 100644 --- a/query/gremlin/session.go +++ b/query/gremlin/session.go @@ -47,9 +47,9 @@ type Session struct { emptyEnv *otto.Otto } -func NewSession(inputTripleStore graph.TripleStore, timeoutSec int, persist bool) *Session { +func NewSession(ts graph.TripleStore, timeoutSec int, persist bool) *Session { g := Session{ - ts: inputTripleStore, + ts: ts, limit: -1, timeoutSec: time.Duration(timeoutSec), }