We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85881df commit 9f961e3Copy full SHA for 9f961e3
packages/graphql/lib/src/core/query_manager.dart
@@ -244,7 +244,8 @@ class QueryManager {
244
245
try {
246
// execute the request through the provided link(s)
247
- response = await link.request(request).first;
+ response =
248
+ await link.request(request).timeout(Duration(seconds: 5)).first;
249
250
queryResult = mapFetchResultToQueryResult(
251
response,
0 commit comments