From e5e42218e334cee3f0120752a359b72cf3837bc0 Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Wed, 30 Oct 2024 07:47:54 -0700 Subject: [PATCH] cmd: increase inbound peers --- cmd/explored/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/explored/main.go b/cmd/explored/main.go index 1b271e04..996cfec5 100644 --- a/cmd/explored/main.go +++ b/cmd/explored/main.go @@ -250,7 +250,7 @@ func runRootCmd(ctx context.Context, log *zap.Logger) error { UniqueID: gateway.GenerateUniqueID(), NetAddress: syncerAddr, } - s := syncer.New(syncerListener, cm, ps, header, syncer.WithLogger(log.Named("syncer"))) + s := syncer.New(syncerListener, cm, ps, header, syncer.WithLogger(log.Named("syncer")), syncer.WithMaxInboundPeers(256)) defer s.Close() go s.Run(ctx)