Skip to content

Commit

Permalink
use rcmgr.InfiniteLimits while resource limit not set
Browse files Browse the repository at this point in the history
burp go-libp2p to v0.23.0 to fix InfiniteLimits MaxInt64 overflow
refer to PR: libp2p/go-libp2p#1722
  • Loading branch information
juju812 committed Apr 1, 2023
1 parent a9ee2f8 commit eb3cf31
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 61 deletions.
2 changes: 1 addition & 1 deletion build/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG TARGETARCH
WORKDIR /code
COPY . .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH GO_LDFLAGS=$GO_LDFLAGS make WHAT=edgemesh-agent
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH make WHAT=edgemesh-agent GOLDFLAGS="" GOGCFLAGS="-N -l"


FROM alpine:3.11
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ require (
github.com/coredns/coredns v1.8.0
github.com/fsnotify/fsnotify v1.5.4
github.com/golang/protobuf v1.5.2
github.com/ipfs/go-datastore v0.5.1
github.com/ipfs/go-datastore v0.6.0
github.com/ipfs/go-log/v2 v2.5.1
github.com/kubeedge/beehive v0.0.0
github.com/kubeedge/kubeedge v1.11.1
github.com/libp2p/go-libp2p v0.22.0
github.com/libp2p/go-libp2p v0.23.0
github.com/libp2p/go-libp2p-kad-dht v0.18.0
github.com/libp2p/go-msgio v0.2.0
github.com/multiformats/go-multiaddr v0.6.0
github.com/multiformats/go-multiaddr v0.7.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.16.0
github.com/spf13/cobra v1.2.1
Expand Down
Loading

0 comments on commit eb3cf31

Please sign in to comment.