Class: CollavreSlack::SlackInboundReservation
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ApplicationRecord
- CollavreSlack::SlackInboundReservation
- Defined in:
- app/models/collavre_slack/slack_inbound_reservation.rb
Overview
Pre-flight claim on an inbound Slack message so its non-idempotent side effects run once. The unique (slack_channel_link_id, message_ts) index makes the claim atomic: of two concurrent jobs, only one inserts and proceeds. See the job for the crash-window trade-off.