Skip to content

Commit 102c134

Browse files
committed
fix: Do not try to trigger captures with the same UUID
1 parent a2db0c5 commit 102c134

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

webmonitoring/webmonitoring.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ def process_monitoring_queue(self) -> None:
439439
for monitor_uuid in self.redis_zpoprangebyscore(keys=['monitoring_queue'], args=[now]):
440440
logger = MonitoringLogAdapter(self.master_logger, {'uuid': monitor_uuid})
441441
if _cs := self.redis.hgetall(f'{monitor_uuid}:capture_settings'):
442+
_cs.pop('uuid', None)
442443
settings = LookylooCaptureSettings.model_validate(_cs)
443444
settings.listing = False # force the monitored capture our of the lookyloo index page
444445
logger.info('Trigering capture')

0 commit comments

Comments
 (0)