Comment extra loop (load inducing?)

This commit is contained in:
Simon 2021-04-11 21:18:37 +01:00
parent 919b7842da
commit 17b6968930
1 changed files with 13 additions and 13 deletions

View File

@ -1266,19 +1266,19 @@ class routerOBP(OPENBRIDGE):
return return
# Loop Control # Loop Control
_removeextra1 = [] #_removeextra1 = []
_count = 0 #_count = 0
for system in systems: #for system in systems:
if system == self._system: #if system == self._system:
continue #continue
if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE': #if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE':
if _stream_id in systems[system].STATUS and '1ST' in systems[system].STATUS[_stream_id]: #if _stream_id in systems[system].STATUS and '1ST' in systems[system].STATUS[_stream_id]:
_count = _count + 1 #_count = _count + 1
if _count > 1: #if _count > 1:
logger.warning('Extra') #logger.warning('Extra')
_removeextra1.append(system) #_removeextra1.append(system)
for remove in _removeextra1: #for remove in _removeextra1:
del systems[remove].STATUS[_stream_id]['1ST'] #del systems[remove].STATUS[_stream_id]['1ST']
for system in systems: for system in systems:
if system == self._system: if system == self._system: