Skip to content

Commit

Permalink
Deduplicating signal instances should only occur when those instances…
Browse files Browse the repository at this point in the history
… are associated with a case.
  • Loading branch information
metroid-samus committed Nov 20, 2023
1 parent 22827d9 commit 343da79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dispatch/signal/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ def _should_update_signal_message(signal_instance: SignalInstance) -> bool:
"""
global _last_nonupdated_signal_cache

if signal_instance.case_id:
return False

case_id = str(signal_instance.case_id)

if case_id not in _last_nonupdated_signal_cache:
Expand Down

0 comments on commit 343da79

Please sign in to comment.