mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-08 14:32:47 -04:00
Added Transport Instance uptime to rnstatut output
This commit is contained in:
parent
7497e7aa0c
commit
874d76b343
3 changed files with 7 additions and 4 deletions
|
@ -115,9 +115,10 @@ class Transport:
|
|||
|
||||
pending_local_path_requests = {}
|
||||
|
||||
jobs_locked = False
|
||||
jobs_running = False
|
||||
job_interval = 0.250
|
||||
start_time = None
|
||||
jobs_locked = False
|
||||
jobs_running = False
|
||||
job_interval = 0.250
|
||||
links_last_checked = 0.0
|
||||
links_check_interval = 1.0
|
||||
receipts_last_checked = 0.0
|
||||
|
@ -270,6 +271,7 @@ class Transport:
|
|||
RNS.log("Could not load tunnel table from storage, the contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
RNS.log("Transport instance "+str(Transport.identity)+" started", RNS.LOG_VERBOSE)
|
||||
Transport.start_time = time.time()
|
||||
|
||||
# Synthesize tunnels for any interfaces wanting it
|
||||
for interface in Transport.interfaces:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue