-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: purchase transfers & ppp #170
Conversation
joelhooks
commented
May 3, 2024
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
const maxRetries = 5 | ||
const initialDelay = 150 | ||
const maxDelay = 15000 | ||
|
||
let retries = 0 | ||
let delay = initialDelay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed sometimes it wasn't created at the exact moment so this polls for the purchase
autoApplyPPP, | ||
}, | ||
{ | ||
...(initialFormattedPrice && { initialData: initialFormattedPrice }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the initial data made it weird, so dynamic it is