@xyo-network/xl1-cli 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-min.mjs +7 -3
- package/dist/cli-min.mjs.map +1 -1
- package/package.json +29 -29
package/dist/cli-min.mjs
CHANGED
|
@@ -212106,7 +212106,7 @@ if (!nativeAccelerationDisabled) {
|
|
|
212106
212106
|
}
|
|
212107
212107
|
}
|
|
212108
212108
|
|
|
212109
|
-
const version$1 = '5.76.
|
|
212109
|
+
const version$1 = '5.76.11';
|
|
212110
212110
|
|
|
212111
212111
|
/**
|
|
212112
212112
|
* Includes all the scripts needed by the queue and jobs.
|
|
@@ -236781,16 +236781,20 @@ class Worker extends QueueBase {
|
|
|
236781
236781
|
this.limitUntil = rateLimitTtl > 0 ? Date.now() + rateLimitTtl : 0;
|
|
236782
236782
|
return;
|
|
236783
236783
|
}
|
|
236784
|
+
const fetchNext = fetchNextCallback() && !(this.closing || this.paused);
|
|
236784
236785
|
if (err instanceof DelayedError ||
|
|
236785
236786
|
err.name == 'DelayedError' ||
|
|
236786
236787
|
err instanceof WaitingError ||
|
|
236787
236788
|
err.name == 'WaitingError' ||
|
|
236788
236789
|
err instanceof WaitingChildrenError ||
|
|
236789
236790
|
err.name == 'WaitingChildrenError') {
|
|
236791
|
+
if (!fetchNext) {
|
|
236792
|
+
return;
|
|
236793
|
+
}
|
|
236790
236794
|
const client = await this.client;
|
|
236791
236795
|
return this.moveToActive(client, token, this.opts.name);
|
|
236792
236796
|
}
|
|
236793
|
-
const result = await job.moveToFailed(err, token,
|
|
236797
|
+
const result = await job.moveToFailed(err, token, fetchNext);
|
|
236794
236798
|
this.emit('failed', job, err, 'active');
|
|
236795
236799
|
span === null || span === void 0 ? void 0 : span.addEvent('job failed', {
|
|
236796
236800
|
[TelemetryAttributes.JobFailedReason]: err.message,
|
|
@@ -248283,7 +248287,7 @@ function defaultScrapePortForActors(actors) {
|
|
|
248283
248287
|
var configuration;
|
|
248284
248288
|
var skipInsecureConfirm = false;
|
|
248285
248289
|
var dumpProviders = false;
|
|
248286
|
-
var version = isDefined("2.0.
|
|
248290
|
+
var version = isDefined("2.0.1") ? "2.0.1" : "unknown";
|
|
248287
248291
|
function getConfiguration() {
|
|
248288
248292
|
return configuration;
|
|
248289
248293
|
}
|