Skip to content

Commit

Permalink
fix: 🗃️ Increase graphql node requests timeout to 10 seconds.
Browse files Browse the repository at this point in the history
This is required because of actual perf issues on some networkTx requests.
  • Loading branch information
Chralu committed Dec 12, 2024
1 parent e35fb8d commit 078b14d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/services/api_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class ApiService with JsonRPCUtil {
) : _client = GraphQLClient(
link: HttpLink('$endpoint/api'),
cache: GraphQLCache(),
queryRequestTimeout: const Duration(seconds: 10),
defaultPolicies: DefaultPolicies(
query: Policies(
fetch: FetchPolicy.noCache,
Expand Down

0 comments on commit 078b14d

Please sign in to comment.