- Notifications
You must be signed in to change notification settings - Fork309
-
What is the default timeout for a given request and where can I configure that? |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Replies: 4 comments
-
You might want to look athttps://github.com/prisma-labs/graphql-request/#cancellation |
BetaWas this translation helpful?Give feedback.
All reactions
-
Take a look at#103 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I would be also interested in a smooth way to set it by configuration. |
BetaWas this translation helpful?Give feedback.
All reactions
-
If you are running node this does the trick: returnnewGraphQLClient(someUrl,{signal:AbortSignal.timeout(API_CALL_TIMEOUT_MS),}); |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #346 on October 30, 2023 15:14.