mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Add retry limit to sauce retry message.
This commit is contained in:
@@ -423,7 +423,7 @@ Job.prototype.restart = function(callback) {
|
|||||||
label = options.name + ':';
|
label = options.name + ':';
|
||||||
|
|
||||||
logInline();
|
logInline();
|
||||||
console.log(label + ' ' + description + ' restart #%d', ++this.attempts);
|
console.log(label + ' ' + description + ' restart #%d of %d', ++this.attempts, this.retries);
|
||||||
this.stop(_.bind(this.start, this, callback));
|
this.stop(_.bind(this.start, this, callback));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user