Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo
This commit is contained in:
@@ -177,7 +177,7 @@ RequestBackoff.prototype.isErrorStatus = function(status) {
|
||||
// to throttle pending requests.
|
||||
function RequestBackoffV4(maxRequests, requestPeriod) {
|
||||
let rand = Math.random();
|
||||
let retryInterval = Math.floor(15 * 60 * 1000 * (rand + 1)); // 15 ~ 30 min.
|
||||
let retryInterval = Math.floor(15 * 60 * 1000 * (rand + 1)); // 15 ~ 30 min.
|
||||
let backoffInterval = Math.floor(30 * 60 * 1000 * (rand + 1)); // 30 ~ 60 min.
|
||||
|
||||
return new RequestBackoff(2 /* max errors */,
|
||||
|
||||
Reference in New Issue
Block a user