From c06961f75fd50eeeafb5611ccd9a0e055a548be4 Mon Sep 17 00:00:00 2001
From: Manish R Jain <manishrjain@gmail.com>
Date: Mon, 2 May 2016 11:47:50 +1000
Subject: [PATCH] Set timeout to a minute

---
 server/main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/main.go b/server/main.go
index 6ab16363..30041499 100644
--- a/server/main.go
+++ b/server/main.go
@@ -177,7 +177,7 @@ func queryHandler(w http.ResponseWriter, r *http.Request) {
 	glog.WithField("q", string(q)).Debug("Query parsed.")
 
 	rch := make(chan error)
-	go query.ProcessGraph(sg, rch, time.Second)
+	go query.ProcessGraph(sg, rch, time.Minute)
 	err = <-rch
 	if err != nil {
 		x.Err(glog, err).Error("While executing query")
-- 
GitLab