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

Batch notifications into groups of 50 #208

Merged
merged 1 commit into from
Feb 24, 2024
Merged

Conversation

Timothy-Gonzalez
Copy link
Member

@Timothy-Gonzalez Timothy-Gonzalez commented Feb 24, 2024

  • Add new /notifications/send/batch that sends to group of user ids
  • Changed /notifications/send to use that
  • Should be faster now that it's batched into multiple requests
  • Should work around vercel limit of 10 seconds

Copy link
Collaborator

@AydanPirani AydanPirani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, god bless ur soul timothy :D

@Timothy-Gonzalez Timothy-Gonzalez merged commit 104dcae into main Feb 24, 2024
5 checks passed
@Timothy-Gonzalez Timothy-Gonzalez deleted the dev/batch-notifs branch February 24, 2024 07:37
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