From 99f79e72e9f75306091d7ee0c031374e7d255ed2 Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Mon, 15 Jul 2024 13:03:50 +0530 Subject: [PATCH 1/4] chore: revert all changes, just update cache refresh time --- waku/waku_peer_exchange/protocol.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/waku_peer_exchange/protocol.nim b/waku/waku_peer_exchange/protocol.nim index 689c8fddab..370c5da240 100644 --- a/waku/waku_peer_exchange/protocol.nim +++ b/waku/waku_peer_exchange/protocol.nim @@ -32,7 +32,7 @@ const DefaultMaxRpcSize* = 10 * DefaultMaxWakuMessageSize + 64 * 1024 # TODO what is the expected size of a PX message? As currently specified, it can contain an arbitary number of ENRs... MaxPeersCacheSize = 60 - CacheRefreshInterval = 15.minutes + CacheRefreshInterval = 5.minutes WakuPeerExchangeCodec* = "/vac/waku/peer-exchange/2.0.0-alpha1" From 63b5869052e59ad64ae20aba256bc7666f4dec2e Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Fri, 23 Aug 2024 11:32:55 +0530 Subject: [PATCH 2/4] chore: update crr to 10 min for analysis --- waku/waku_peer_exchange/protocol.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/waku_peer_exchange/protocol.nim b/waku/waku_peer_exchange/protocol.nim index 370c5da240..e64395dd41 100644 --- a/waku/waku_peer_exchange/protocol.nim +++ b/waku/waku_peer_exchange/protocol.nim @@ -32,7 +32,7 @@ const DefaultMaxRpcSize* = 10 * DefaultMaxWakuMessageSize + 64 * 1024 # TODO what is the expected size of a PX message? As currently specified, it can contain an arbitary number of ENRs... MaxPeersCacheSize = 60 - CacheRefreshInterval = 5.minutes + CacheRefreshInterval = 10.minutes WakuPeerExchangeCodec* = "/vac/waku/peer-exchange/2.0.0-alpha1" From 1aeb35d710ef58d60484be2d0aa42e583f974fe7 Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Fri, 23 Aug 2024 16:56:58 +0530 Subject: [PATCH 3/4] chore: update ccr to 5.min to analysis --- waku/waku_peer_exchange/protocol.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/waku_peer_exchange/protocol.nim b/waku/waku_peer_exchange/protocol.nim index e64395dd41..370c5da240 100644 --- a/waku/waku_peer_exchange/protocol.nim +++ b/waku/waku_peer_exchange/protocol.nim @@ -32,7 +32,7 @@ const DefaultMaxRpcSize* = 10 * DefaultMaxWakuMessageSize + 64 * 1024 # TODO what is the expected size of a PX message? As currently specified, it can contain an arbitary number of ENRs... MaxPeersCacheSize = 60 - CacheRefreshInterval = 10.minutes + CacheRefreshInterval = 5.minutes WakuPeerExchangeCodec* = "/vac/waku/peer-exchange/2.0.0-alpha1" From f0180b15f143de0744b8ce8c8d17f60fd72ce2ab Mon Sep 17 00:00:00 2001 From: Darshan K <35736874+darshankabariya@users.noreply.github.com> Date: Fri, 23 Aug 2024 23:09:00 +0530 Subject: [PATCH 4/4] update to crr to 10 min --- waku/waku_peer_exchange/protocol.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/waku_peer_exchange/protocol.nim b/waku/waku_peer_exchange/protocol.nim index 370c5da240..e64395dd41 100644 --- a/waku/waku_peer_exchange/protocol.nim +++ b/waku/waku_peer_exchange/protocol.nim @@ -32,7 +32,7 @@ const DefaultMaxRpcSize* = 10 * DefaultMaxWakuMessageSize + 64 * 1024 # TODO what is the expected size of a PX message? As currently specified, it can contain an arbitary number of ENRs... MaxPeersCacheSize = 60 - CacheRefreshInterval = 5.minutes + CacheRefreshInterval = 10.minutes WakuPeerExchangeCodec* = "/vac/waku/peer-exchange/2.0.0-alpha1"