Skip to content

Commit

Permalink
fix dup detection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Nov 21, 2023
1 parent 5499f01 commit 028965f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbot/modules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ def set_error_state(self, message=None, clear_outgoing_queue=False):
self.outgoing_event_queue.get_nowait()

def is_incoming_duplicate(self, event, add=False):
if event.type in ("FINISHED",):
return False
event_hash = self._incoming_dedup_hash(event)
is_dup = event_hash in self._incoming_dup_tracker
if add:
Expand Down

0 comments on commit 028965f

Please sign in to comment.