Cleanup
This commit is contained in:
parent
8f5a980bf1
commit
a78a773886
|
@ -3655,6 +3655,8 @@ class SidebandApp(MDApp):
|
||||||
else:
|
else:
|
||||||
if sender != None and hasattr(sender, "source_dest") and sender.source_dest != None:
|
if sender != None and hasattr(sender, "source_dest") and sender.source_dest != None:
|
||||||
telemetry_source = sender.source_dest
|
telemetry_source = sender.source_dest
|
||||||
|
else:
|
||||||
|
telemetry_source = None
|
||||||
|
|
||||||
if telemetry_source != None:
|
if telemetry_source != None:
|
||||||
if self.object_details_screen == None:
|
if self.object_details_screen == None:
|
||||||
|
|
|
@ -125,7 +125,7 @@ class SidebandCore():
|
||||||
self.pending_telemetry_send_maxtries = 2
|
self.pending_telemetry_send_maxtries = 2
|
||||||
self.telemetry_send_blocked_until = 0
|
self.telemetry_send_blocked_until = 0
|
||||||
self.pending_telemetry_request = False
|
self.pending_telemetry_request = False
|
||||||
self.telemetry_request_max_history = 3*24*60*60
|
self.telemetry_request_max_history = 7*24*60*60
|
||||||
self.state_db = {}
|
self.state_db = {}
|
||||||
self.rpc_connection = None
|
self.rpc_connection = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue