Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3102 Group Real Time Oral Argument Alerts #4251

Open
wants to merge 1 commit into
base: 612-recap-search-alerts-percolator
Choose a base branch
from

Conversation

albertisfu
Copy link
Contributor

As described in #3102, in this PR I've enabled grouping of RT OA Search Alerts. It uses the same approach applied in #4200, so alerts are stored as ScheduledAlertHit in the DB and then grouped and sent every 5 minutes by the cl_send_rt_percolator_alerts daemon.

One difference between OA Alerts and RECAP Alerts now is that we don't use a Redis set for OA Alerts to avoid sending an alert more than once. The reason is that for OA, we only percolate the audio once after it's created and processed by Doctor.

A question here: Is it possible for an Audio to change its content after a re-import or re-scraping? If this is possible, I think we should change the approach of percolating audio files and do it also on updates. In that case, we'd need to use a Redis set to avoid duplicating alerts for the same document.

Let me know what do you think.

@albertisfu albertisfu requested a review from mlissner July 29, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Status: RECAP Alerts
Development

Successfully merging this pull request may close these issues.

1 participant