From 101e9df4c1d325c1ae8adfaaf4c43743562b005a Mon Sep 17 00:00:00 2001 From: Balint Gabor Date: Mon, 17 Sep 2018 15:13:08 +0200 Subject: [PATCH] swarm/network: Increase priority queue cap --- swarm/network/stream/stream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/network/stream/stream.go b/swarm/network/stream/stream.go index 981826f0be..319fc62c9f 100644 --- a/swarm/network/stream/stream.go +++ b/swarm/network/stream/stream.go @@ -41,8 +41,8 @@ const ( Mid High Top - PriorityQueue = 4 // number of priority queues - Low, Mid, High, Top - PriorityQueueCap = 128 // queue capacity + PriorityQueue = 4 // number of priority queues - Low, Mid, High, Top + PriorityQueueCap = 4096 // queue capacity HashSize = 32 )