@budibase/backend-core 2.17.6 → 2.17.8
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/index.js +6 -2
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/package.json +4 -4
- package/dist/plugins.js.meta.json +1 -1
- package/dist/src/objectStore/objectStore.js +2 -1
- package/dist/src/objectStore/objectStore.js.map +1 -1
- package/dist/src/queue/queue.d.ts +3 -1
- package/dist/src/queue/queue.js +4 -1
- package/dist/src/queue/queue.js.map +1 -1
- package/package.json +4 -4
- package/src/objectStore/objectStore.ts +2 -1
- package/src/queue/queue.ts +10 -3
package/dist/index.js
CHANGED
|
@@ -4106,7 +4106,8 @@ async function listAllObjects(bucketName, path2) {
|
|
|
4106
4106
|
objects = objects.concat(response.Contents);
|
|
4107
4107
|
}
|
|
4108
4108
|
isTruncated = !!response.IsTruncated;
|
|
4109
|
-
|
|
4109
|
+
token = response.NextContinuationToken;
|
|
4110
|
+
} while (isTruncated && token);
|
|
4110
4111
|
return objects;
|
|
4111
4112
|
}
|
|
4112
4113
|
function getPresignedUrl(bucketName, key, durationSeconds = 3600) {
|
|
@@ -7248,11 +7249,14 @@ function createQueue(jobQueue, opts = {}) {
|
|
|
7248
7249
|
const queueConfig = {
|
|
7249
7250
|
redis: redisOpts,
|
|
7250
7251
|
settings: {
|
|
7251
|
-
maxStalledCount: 0,
|
|
7252
|
+
maxStalledCount: opts.maxStalledCount ? opts.maxStalledCount : 0,
|
|
7252
7253
|
lockDuration: QUEUE_LOCK_MS,
|
|
7253
7254
|
lockRenewTime: QUEUE_LOCK_RENEW_INTERNAL_MS
|
|
7254
7255
|
}
|
|
7255
7256
|
};
|
|
7257
|
+
if (opts.jobOptions) {
|
|
7258
|
+
queueConfig.defaultJobOptions = opts.jobOptions;
|
|
7259
|
+
}
|
|
7256
7260
|
let queue;
|
|
7257
7261
|
if (!environment_default.isTest()) {
|
|
7258
7262
|
queue = new import_bull.default(jobQueue, queueConfig);
|