-
Notifications
You must be signed in to change notification settings - Fork 289
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
[Coin Fmk] Batcher moving to Network #6819
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
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.
Nice work 👏🏿
} | ||
|
||
response = await retry(() => axios(request), { | ||
maxRetry: getEnv("GET_CALLS_RETRY"), |
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.
Do you think it'd make sense to also have maxRetry
this in LiveNetworkRequest
?
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.
What bothering me, is that this is not part of the live-network
package.
I think we should do, but maybe with a small refacto.
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
e22a40e
to
da1ca6a
Compare
✅ Checklist
npx changeset
was attached.📝 Description
Move Batcher from
coin-framework
tolive-network
.Might need to consider to expands this concept.
Also propose a new
network
function to get rid of Axios type (this is a good practice to partition types of external libraries). This method is compatible with the old one.OLD implementation
NEW implementation
❓ Context
🧐 Checklist for the PR Reviewers