Disabled caching until redesign

pull/375/head
Mark Qvist 2023-09-21 12:05:37 +02:00
rodzic 8e4a1e3ffa
commit 06716e4873
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -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