File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ GOGET=$(GOCMD) get
99GOMOD =$(GOCMD ) mod
1010GOFMT =$(GOCMD ) fmt
1111BIN_NAME =redisgraph-benchmark-go
12+ DISTDIR = ./dist
13+
1214# Build-time GIT variables
1315ifeq ($(GIT_SHA ) ,)
1416GIT_SHA: =$(shell git rev-parse HEAD)
@@ -18,6 +20,8 @@ ifeq ($(GIT_DIRTY),)
1820GIT_DIRTY: =$(shell git diff --no-ext-diff 2> /dev/null | wc -l)
1921endif
2022
23+ LDFLAGS = "-X 'main.GitSHA1=$(GIT_SHA ) ' -X 'main.GitDirty=$(GIT_DIRTY ) '"
24+
2125.PHONY : all test coverage build checkfmt fmt
2226all : test coverage build checkfmt fmt
2327
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ func main() {
109109
110110 // a WaitGroup for the goroutines to tell us they've stopped
111111 dataPointProcessingWg := sync.WaitGroup {}
112- graphDatapointsChann := make (chan GraphQueryDatapoint , * numberRequests )
112+ graphDatapointsChann := make (chan GraphQueryDatapoint , * clients )
113113
114114 // listen for C-c
115115 c := make (chan os.Signal , 1 )
You can’t perform that action at this time.
0 commit comments