Revert "Back off logging for dedup code"

This reverts commit 4a2bdaf80f.
This commit is contained in:
Simon 2020-12-20 21:48:48 +00:00
parent 4a2bdaf80f
commit 32c25e306c
1 changed files with 3 additions and 4 deletions

View File

@ -787,8 +787,7 @@ class routerOBP(OPENBRIDGE):
_target_status = systems[_target['SYSTEM']].STATUS
_target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]
if (_target['SYSTEM'],_target['TS']) in _sysIgnore:
if (_stream_id not in _target_status):
logger.debug("(DEDUP) OBP Source Skipping system %s TS: %s",_target['SYSTEM'],_target['TS'])
logger.debug("(DEDUP) OBP Source Skipping system %s TS: %s",_target['SYSTEM'],_target['TS'])
continue
if _target_system['MODE'] == 'OPENBRIDGE':
if _noOBP == True:
@ -1058,9 +1057,9 @@ class routerHBP(HBSYSTEM):
if _target['ACTIVE']:
_target_status = systems[_target['SYSTEM']].STATUS
_target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]
if (_target['SYSTEM'],_target['TS']) in _sysIgnore:
if (_stream_id not in _target_status):
logger.debug("(DEDUP) HBP Source - Skipping system %s TS: %s",_target['SYSTEM'],_target['TS'])
logger.debug("(DEDUP) HBP Source - Skipping system %s TS: %s",_target['SYSTEM'],_target['TS'])
continue
if _target_system['MODE'] == 'OPENBRIDGE':
if _noOBP == True: