Timeout typical TOT 180 sec for missing END of TX info

This commit is contained in:
Waldek 2021-04-07 06:33:54 +02:00 committed by GitHub
parent 79fae60b61
commit e88ce75a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -789,7 +789,8 @@ def process_message(_bmessage):
now = datetime.datetime.now()
durations = now - then
duration_in_s = durations.total_seconds()
if dur=="0" and row[3]=="START" and duration_in_s < 260:
# Timeout typical TOT 180 sec for missing END of TX info
if dur=="0" and row[3]=="START" and duration_in_s < 180:
durtx='<td style=\"background:#f33; color:white;font-weight:bold;\">TX-ing</td>'
else:
if dur=="0":