worker pool for handling concurrent ipld putting and cid indexing without overloading Postgres connections

This commit is contained in:
Ian Norden
2019-12-02 13:24:58 -06:00
parent 3fa33fb767
commit f2efbb5d01
5 changed files with 78 additions and 52 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ RUN apk add busybox-extras
# Get and build vulcanizedb syncAndPublish fork
RUN go get -u -d github.com/vulcanize/vulcanizedb
WORKDIR /go/src/github.com/vulcanize/vulcanizedb
RUN git checkout syncAndPublish
RUN git checkout ipfs_concurrency
RUN dep ensure
RUN GCO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o vulcanizedb .