From 06716e4873c045c5c84e156c6a961c9b913f19c2 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 21 Sep 2023 12:05:37 +0200 Subject: [PATCH] Disabled caching until redesign --- RNS/Transport.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index 2f487ad..bf2ade6 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -1782,8 +1782,11 @@ class Transport: @staticmethod def should_cache(packet): - if packet.context == RNS.Packet.RESOURCE_PRF: - return True + # TODO: Rework the caching system. It's currently + # not very useful to even cache Resource proofs, + # disabling it for now, until redesigned. + # if packet.context == RNS.Packet.RESOURCE_PRF: + # return True return False