Replies: 4 comments
-
You might want to look at https://github.com/prisma-labs/graphql-request/#cancellation |
Beta Was this translation helpful? Give feedback.
0 replies
-
Take a look at #103 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would be also interested in a smooth way to set it by configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you are running node this does the trick: return new GraphQLClient(someUrl, {
signal: AbortSignal.timeout(API_CALL_TIMEOUT_MS),
}); See AbortSignal-Docs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is the default timeout for a given request and where can I configure that?
Beta Was this translation helpful? Give feedback.
All reactions