Skip to content
Snippets Groups Projects
Commit 4dd5b36f authored by Michel Conrado's avatar Michel Conrado Committed by Manish R Jain
Browse files

Change LiveLoader's flag 'conc' defaults to 1 (#2506)

This makes LiveLoad faster by making concurrent requests optional.
parent 0478f565
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ func init() { ...@@ -71,7 +71,7 @@ func init() {
flag.StringP("schema", "s", "", "Location of schema file") flag.StringP("schema", "s", "", "Location of schema file")
flag.StringP("dgraph", "d", "127.0.0.1:9080", "Dgraph gRPC server address") 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.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") "Number of concurrent requests to make to Dgraph")
flag.IntP("batch", "b", 1000, flag.IntP("batch", "b", 1000,
"Number of RDF N-Quads to send as part of a mutation.") "Number of RDF N-Quads to send as part of a mutation.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment