Skip to content

Commit 0bf53e7

Browse files
committed
chore(mollifier): drop drive-by enqueueSystem comment change
The enqueueSystem.ts comment touch-up was an unrelated drive-by during phase-1 review and doesn't belong in this PR. Will land separately.
1 parent e734490 commit 0bf53e7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

internal-packages/run-engine/src/engine/systems/enqueueSystem.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,8 @@ export class EnqueueSystem {
8888

8989
const timestamp = (run.queueTimestamp ?? run.createdAt).getTime() - run.priorityMs;
9090

91-
// Include TTL only when explicitly requested. Callers pass `includeTtl: true`
92-
// on the first enqueue that puts the run into the run queue — the initial
93-
// trigger path, the delayed run release, and the pending-version release.
94-
// Waitpoint/checkpoint re-enqueues must NOT pass it: the run has already
95-
// started, so the queued-but-never-started TTL no longer applies.
91+
// Include TTL only when explicitly requested (first enqueue from trigger).
92+
// Re-enqueues (waitpoint, checkpoint, delayed, pending version) must not add TTL.
9693
let ttlExpiresAt: number | undefined;
9794
if (includeTtl && run.ttl) {
9895
const expireAt = parseNaturalLanguageDuration(run.ttl);

0 commit comments

Comments
 (0)