Disabled caching until redesign

This commit is contained in:
Mark Qvist 2023-09-21 12:05:37 +02:00
parent 8e4a1e3ffa
commit 06716e4873

View File

@ -1782,8 +1782,11 @@ class Transport:
@staticmethod @staticmethod
def should_cache(packet): def should_cache(packet):
if packet.context == RNS.Packet.RESOURCE_PRF: # TODO: Rework the caching system. It's currently
return True # 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 return False