Skip to content

Commit

Permalink
Increase global timeout to 10 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Dec 6, 2023
1 parent 3ab7dba commit 156e29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pub_stats_collector/lib/fetch_package_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Future<Response> fetchPackageData(Request request, {bool debug = false}) async {
);

await controller.fetchScores().timeout(
Duration(minutes: 5),
Duration(minutes: 10),
onTimeout: () => throw TimeoutException('Global timeout reached'),
);
} catch (e, stacktrace) {
Expand Down

0 comments on commit 156e29b

Please sign in to comment.