Files
fizzy/app/models
Mike Dalessio 1bbb6d0c03 Fix race condition in Card::ActivitySpike::DetectionJob
The check-then-act pattern in `register_activity_spike` has been
replaced with `find_or_create_by!` to eliminate the race condition
that could lead to creating multiple activity spikes for a card. To
support this change, the `card_id` index on `cards_activity_spikes`
has been made unique.

ref: https://app.fizzy.do/5986089/cards/3063
2025-11-20 15:40:42 -05:00
..
2025-11-14 11:24:55 +01:00
2025-11-17 09:12:41 -05:00
2025-11-17 16:59:56 -06:00
2025-11-17 09:12:39 -05:00
2025-11-17 09:12:41 -05:00
2025-11-17 09:12:41 -05:00
2025-11-19 11:02:00 +01:00
2025-11-17 09:12:41 -05:00
2025-11-14 11:44:04 +01:00
2025-11-17 09:12:40 -05:00
2025-11-17 09:12:40 -05:00
2025-11-17 09:12:40 -05:00
2025-11-19 17:51:38 -05:00
2025-11-17 09:12:40 -05:00
2025-11-17 09:11:36 -05:00
2025-11-17 16:16:19 +01:00
2025-07-21 20:11:03 -05:00
2025-11-17 09:11:36 -05:00
2025-11-17 09:12:40 -05:00
2025-11-17 16:16:19 +01:00
2025-11-17 09:12:41 -05:00