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