From 8b4aa3ab951af64cb0ee6be8594076ccf068718e Mon Sep 17 00:00:00 2001 From: kaichaosun Date: Fri, 7 Jun 2024 21:10:34 +0800 Subject: [PATCH] chore_: increase max hash query length --- wakuv2/waku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wakuv2/waku.go b/wakuv2/waku.go index 28abb06e533..b34aff81189 100644 --- a/wakuv2/waku.go +++ b/wakuv2/waku.go @@ -83,7 +83,7 @@ const requestTimeout = 30 * time.Second const bootnodesQueryBackoffMs = 200 const bootnodesMaxRetries = 7 const cacheTTL = 20 * time.Minute -const maxHashQueryLength = 20 +const maxHashQueryLength = 100 const hashQueryInterval = 5 * time.Second const messageSentPeriod = 5 // in seconds