Skip to content

Commit

Permalink
Update utility.js
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung authored Mar 26, 2022
1 parent b8d08dd commit c018d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function getData(url, cb) {
|| body.result.error === 'Practice matches are not available via GetMatchDetails'
|| body.result.error === 'No Match ID specified'
|| body.result.error === 'Match ID not found'
|| (body.result.status === 2 && body.result.statusDetail === 'Error retrieving match data.' && Math.random() < 0.2)) {
|| (body.result.status === 2 && body.result.statusDetail === 'Error retrieving match data.' && Math.random() < 0.4)) {
// private match history or attempting to get practice match/invalid id, don't retry
// non-retryable
return cb(body);
Expand Down

0 comments on commit c018d68

Please sign in to comment.