Bug in stream trimmer

This commit is contained in:
Simon 2021-01-18 15:04:00 +00:00
parent f671a9bc51
commit 77bfacf2e5
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ def stream_trimmer_loop():
if systems[system].STATUS[stream_id]['LAST'] < _now - 5:
remove_list.append(stream_id)
except:
logger.debug("(%s) Keyerror - stream trimmer %s %s %s %s %s",system,systems[system].STATUS[stream_id]['START'],systems[system].STATUS[stream_id]['START']['CONTENTION'],systems[system].STATUS[stream_id]['RFS'],int_id(systems[system].STATUS[stream_id]['TGID']),systems[system].STATUS[stream_id]['LAST'])
logger.debug("(%s) Keyerror - stream trimmer %s %s %s %s %s",system,systems[system].STATUS[stream_id]['START'],systems[system].STATUS[stream_id]['CONTENTION'],systems[system].STATUS[stream_id]['RFS'],int_id(systems[system].STATUS[stream_id]['TGID']),systems[system].STATUS[stream_id]['LAST'])
systems[system].STATUS[stream_id]['LAST'] = _now
continue