Proper debug for streamtrimmer problem

pypy
Simon 5 years ago
parent e6edd4c16b
commit 76927ebf95

@ -410,8 +410,7 @@ def stream_trimmer_loop():
if systems[system].STATUS[stream_id]['LAST'] < _now - 5:
remove_list.append(stream_id)
except:
logger.debug("Keyerror - stream trimmer")
print(systems[system].STATUS[stream_id])
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'])
systems[system].STATUS[stream_id]['LAST'] = _now
continue

Loading…
Cancel
Save

Powered by TurnKey Linux.