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

rate limit the product migration #6

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Igloczek
Copy link

@Igloczek Igloczek commented Feb 25, 2025

Related Discord thread

solution for hitting the rate limits while migrating the products

after writing this, I saw that you already have promiseAllInBatches for migrating customers, but I belive the solution with p-queue is more robust and it's easier to set actual rate limits for requests, not just create batches, but still process stuff ASAP

the proposed rate limits are random-ish, just low enough that shouldn't cause any issues, since this won't need to be particularly fast anyways

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.

1 participant