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

Change notifications to be batched by client #212

Merged
merged 2 commits into from
Feb 24, 2024
Merged

Conversation

Timothy-Gonzalez
Copy link
Member

  • Change notifications to be batched by client
    • Now, POST /notification/batch to get a set of batch ids POST /notification/send for each batch id to send notifs. This makes it so the client requesting API handles pagination & sending requests so we don't run into Vercel's 10 second timeout.
  • Add send-notif script

Now, POST /notification/batch to get a set of batch ids
POST /notification/send for each batch id to send notifs

This makes it so the client requesting API handles pagination &
sending requests so we don't run into Vercel's 10 second timeout
@AydanPirani AydanPirani merged commit 1d45d16 into main Feb 24, 2024
5 checks passed
@AydanPirani AydanPirani deleted the dev/fix-notifs branch February 24, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants