From 4dd5b36f0b07385ba9b1c62c59a8ec14f57e0f75 Mon Sep 17 00:00:00 2001
From: Michel Conrado <MichelDiz@users.noreply.github.com>
Date: Mon, 30 Jul 2018 01:10:35 -0300
Subject: [PATCH] Change LiveLoader's flag 'conc' defaults to 1 (#2506)

This makes LiveLoad faster by making concurrent requests optional.
---
 dgraph/cmd/live/run.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dgraph/cmd/live/run.go b/dgraph/cmd/live/run.go
index ee1795fd..065e8113 100644
--- a/dgraph/cmd/live/run.go
+++ b/dgraph/cmd/live/run.go
@@ -71,7 +71,7 @@ func init() {
 	flag.StringP("schema", "s", "", "Location of schema file")
 	flag.StringP("dgraph", "d", "127.0.0.1:9080", "Dgraph gRPC server address")
 	flag.StringP("zero", "z", "127.0.0.1:5080", "Dgraphzero gRPC server address")
-	flag.IntP("conc", "c", 100,
+	flag.IntP("conc", "c", 1,
 		"Number of concurrent requests to make to Dgraph")
 	flag.IntP("batch", "b", 1000,
 		"Number of RDF N-Quads to send as part of a mutation.")
-- 
GitLab