From 696eeb59b28d06757c3fe11f1b017368a9f51000 Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 17 Jan 2022 01:20:08 +0200 Subject: [PATCH] adjust circuit protocol limits to give some room for the client --- limits.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/limits.go b/limits.go index c0d8f9f654..a2a7664f43 100644 --- a/limits.go +++ b/limits.go @@ -111,17 +111,17 @@ func SetDefaultServiceLimits(limiter *rcmgr.BasicLimiter) { setProtocolLimits(limiter, circuit.ProtoIDv1, limiter.DefaultProtocolLimits. WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1024, 1024, 1024), + WithStreamLimit(1280, 1280, 1280), peerLimit(128, 128, 128)) setProtocolLimits(limiter, circuit.ProtoIDv2Hop, limiter.DefaultProtocolLimits. WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1024, 1024, 1024), + WithStreamLimit(1280, 1280, 1280), peerLimit(128, 128, 128)) setProtocolLimits(limiter, circuit.ProtoIDv2Stop, limiter.DefaultProtocolLimits. WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1024, 1024, 1024), + WithStreamLimit(1280, 1280, 1280), peerLimit(128, 128, 128)) }