Skip to content

Commit c2d141d

Browse files
committed
fixup! Refactor: pass scanId as parameter instead of instance field and fix metric timing
fix(tests): update tests to reflect messageId removal and scanId parameter changes
1 parent 37a65ab commit c2d141d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/lifecycle/conductor/LifecycleConductor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ class LifecycleConductor {
569569
const canonicalId = split[0];
570570
const bucketName = split[2];
571571

572-
return { canonicalId, bucketName };
572+
return { canonicalId, bucketName, isLifecycled: true };
573573
});
574574

575575
queue.push(batch);
@@ -673,7 +673,7 @@ class LifecycleConductor {
673673
const [canonicalId, bucketName] = marker.split(constants.splitter);
674674
if (!this._isBlacklisted(canonicalId, bucketName)) {
675675
nEnqueued += 1;
676-
queue.push({ canonicalId, bucketName });
676+
queue.push({ canonicalId, bucketName, isLifecycled: true });
677677
this.lastSentId = o.key;
678678
// Optimization:
679679
// If we only blacklist by accounts, and the last bucket is blacklisted

0 commit comments

Comments
 (0)