-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: support optimistic concurrency control headers #3462
base: master
Are you sure you want to change the base?
feat: support optimistic concurrency control headers #3462
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This comment was marked as resolved.
This comment was marked as resolved.
d80fbd7
to
cce2ba3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Blocked by the next |
const gqlClient = new GraphQLClient(this.urlWithoutAuth, { | ||
fetch: (input: RequestInfo | URL, requestInit?: RequestInit) => | ||
fetchFn(input.toString(), requestInit || {}, this.options), | ||
responseMiddleware: (response: GraphQLClientResponse<unknown> | Error) => { | ||
this.setCurrentBlockHeight(response as { extensions: unknown }); |
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.
@Torres-ssf Because the node waiting time threshold is dynamic and can be changed or disabled at any time, we must validate the response and implement the whole timing/check/retry independently.
Release notes
In this release, we:
fuel_block_height
Summary
Checklist