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 1793a03 commit 4dfbcdfCopy full SHA for 4dfbcdf
pkg/pub_worker/lib/src/analyze.dart
@@ -35,7 +35,11 @@ const _panaTimeout = Duration(minutes: 50);
35
List<int> encodeJson(Object json) => JsonUtf8Encoder().convert(json);
36
37
/// Retry requests with a longer delay between them.
38
-final _retryOptions = RetryOptions(delayFactor: Duration(seconds: 5));
+final _retryOptions = RetryOptions(
39
+ maxAttempts: 4,
40
+ delayFactor: Duration(seconds: 10),
41
+ maxDelay: Duration(seconds: 90),
42
+);
43
44
/// Retry request if it fails because of an [IOException] or status is 5xx.
45
bool _retryIf(Exception e) =>
0 commit comments