mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-10 10:38:11 -07:00
Periodically clean known destinations data based on local relevance
This commit is contained in:
+1
-3
@@ -411,9 +411,7 @@ class Destination:
|
||||
else:
|
||||
if packet.packet_type == RNS.Packet.DATA:
|
||||
if self.callbacks.packet != None:
|
||||
try:
|
||||
def job(): self.callbacks.packet(plaintext, packet)
|
||||
threading.Thread(target=job, daemon=True).start()
|
||||
try: self.callbacks.packet(plaintext, packet)
|
||||
except Exception as e:
|
||||
RNS.log("Error while executing receive callback from "+str(self)+". The contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user