mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-05 05:40:14 +00:00
Disabled caching until redesign
This commit is contained in:
parent
8e4a1e3ffa
commit
06716e4873
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user